>>Try to incorporate the logic for initialize the TQuery into the form...
I would be happy to do so but.....
Our process on every occasion is as follows:
1. Set SQL parameters and SQL in code.
2. Create and open detail form.
3. When form is closed, close query from within master form.
4. Destroy detail form.
If the detail form is re-created each time, should the same conditions not exist each time? Does closing the query while the detail form is alive make permanent run time changes to that form?
Main Topics
Browse All Topics





by: RadikalQ3Posted on 2005-08-20 at 09:03:47ID: 14715947
Hi!
I think that the key is in: "multiple controls linked to a TQuery which is opened prior to the form being created"
I think that when your form is closed/destroyed the TQuery is not leaved as the first time that the form is created.
Try to incorporate the logic for initialize the TQuery into the form...