 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Marcio Ehrlich Guest
|
Posted: Tue Jan 20, 2004 12:42 am Post subject: TQuery : create at Design or at Runtime? |
|
|
I need a TQuery for several simple queries along my application.
Which is the better approach: to include a TQuery component at MainForm and
use it when needed or to create/free the TQueries at runtime every time?
Thanks,
Marcio
|
|
| Back to top |
|
 |
Jeremy Collins Guest
|
Posted: Tue Jan 20, 2004 9:00 am Post subject: Re: TQuery : create at Design or at Runtime? |
|
|
Marcio Ehrlich wrote:
| Quote: | I need a TQuery for several simple queries along my application.
Which is the better approach: to include a TQuery component at MainForm and
use it when needed or to create/free the TQueries at runtime every time?
|
The former can be slightly less tedious, as you can set all of the
properties that won't change, and just modify the SQL as required
at runtime.
--
jc
Remove the -not from email
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|