Database connection component is not assigned

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
cmatrix
Junior Boarder
Junior Boarder
Posts: 29
Joined: 20.10.2005, 21:43
Contact:

Database connection component is not assigned

Post 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.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post 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
cmatrix
Junior Boarder
Junior Boarder
Posts: 29
Joined: 20.10.2005, 21:43
Contact:

Post by cmatrix »

Right of course. I had recently added several dynamically created queries and had forgot to set the connection property.

Thanks
uwwin
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: 20.07.2006, 08:39

Post 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;
Post Reply