Page 1 of 1
Database connection component is not assigned
Posted: 20.02.2007, 00:29
by cmatrix
After upgrading from Zeos 6.15 to 6.51 and trying to run a project I get the error "Database connection component is not assigned". I tried deleting all the old bpls and recompiling to no effect.
Posted: 20.02.2007, 11:20
by mdaems
This error is raised when you try to open a query or execute a script when the 'Connection' property of a TZQuery/TZTable/TZSQLProcessor is empty. Is this property set?
Mark
Posted: 20.02.2007, 12:21
by cmatrix
Right of course. I had recently added several dynamically created queries and had forgot to set the connection property.
Thanks
Posted: 28.03.2007, 07:52
by uwwin
the same case, when i have added another form in delphi..... and a query use another form it must be close......
i think it is a bug...
for the solution onClose event i have added zquery.close;