Hello,
I'm getting an "Connection is not defined" error after setting the active property to true.
UniQuery component does have it's connection property defined (SQLite) and the database + database path exists too !
Any idea ?
Strange "Connection is not defined" error
Re: Strange "Connection is not defined" error
We continue investigation of this issue, and we will inform you about the results shortly.
-
- Posts: 451
- Joined: Wed 19 Jan 2005 09:59
Re: Strange "Connection is not defined" error
Please, this is really irritating...
I guess you will find this bug.
I guess you will find this bug.
Re: Strange "Connection is not defined" error
Investigation of this problem showed, that the error occurs either due to module loading disorder or due to early call of the TComponent.Loaded method - before the Connection of the Query is set, which leads to «Connection is not defined». The problem is reproduced on all the standard data access components. We have posted the bug description to Embarcadero: https://quality.embarcadero.com/browse/RSP-11440 . A temporary workaround is to place the components in one Data Module.
-
- Posts: 451
- Joined: Wed 19 Jan 2005 09:59
Re: Strange "Connection is not defined" error
Thank you for the feedback.
I'll move all unidac components to the datamodule.
I'll move all unidac components to the datamodule.