BCB6 and 6.6.3-stable ZQuery not loading Connection property
Posted: 22.09.2008, 21:21
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.
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.