I have a datamodule with a TZConnection. The connection parameters are loaded at run time.
I have form(s) with TZQuery components on them and I set the Connection property to the TZConnection on the datamodule (dm.ZConnection).
I have the datamodule included in each form (#include "datamodule.h")
When I save the form(s) and close it the property has been written to the dfm file. When I open the form the Connection property is blank. Then when I close the form the Connection property is lost.
Any ideas or solutions?
Please help.
BCB6 and 6.6.3-stable ZQuery not loading Connection property
Moderators: gto, EgonHugeist
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
This looks like an IDE bug for BCB6. Until now I didn't read about similar stories here on the forum.
I would advise you set the connection property at runtime when loading the form. It's more coding, I know, but unless you find out where we can fix it in the library you'll have to live with it, I'm afraid. BCB6 is a rearely used environment with zeoslib and I don't have the software nor c-experience to play with it.
Mark
I would advise you set the connection property at runtime when loading the form. It's more coding, I know, but unless you find out where we can fix it in the library you'll have to live with it, I'm afraid. BCB6 is a rearely used environment with zeoslib and I don't have the software nor c-experience to play with it.
Mark