i use delphi 11 and unidac 9.0.1
i create android app and i put uniconnection and mysqlprovider in datamodule
in project -> option -> forms -> Auto-create forms -> i move datamodule to top on box
when i create other form and use datamodule and put uniquery add sql query when i check active = true it error
"connection is not defined"
i don't understand what happen is error because i make everything same in past
connection is not defined
Re: connection is not defined
Hi!
Thank you for contacting Devart and for your inquiry!
Kindly note that this message means that you have not set the Connection property for UniQuery. Please check if the Connection property is set.
In addition to adding Data Module to Uses, you should explicitly specify TUniConnection with Data Module in the Connection property of UniQuery.
Please, let us know if there are any questions!
Thank you for contacting Devart and for your inquiry!
Kindly note that this message means that you have not set the Connection property for UniQuery. Please check if the Connection property is set.
In addition to adding Data Module to Uses, you should explicitly specify TUniConnection with Data Module in the Connection property of UniQuery.
Please, let us know if there are any questions!
-
- Posts: 2
- Joined: Fri 29 Oct 2021 00:59
Re: connection is not defined
my uniquery properties
my form use datamodule
i think everything is ok when i open my old project i build on delphi seattle it ok but when i open from delphi 11 is error
i don't understand
my form use datamodule
i think everything is ok when i open my old project i build on delphi seattle it ok but when i open from delphi 11 is error
i don't understand
Re: connection is not defined
Unfortunately, we were unable to reproduce the described behavior.
Please clarify do you have the same UniDAC versions for Delphi 10 and Delphi 11 installed?
Also, we would like to ask to provide us an example that uses UniDAC and demonstrates the wrong behavior.
To submit it you can use the form on our website: https://devart.com/company/contactform.html
Please clarify do you have the same UniDAC versions for Delphi 10 and Delphi 11 installed?
Also, we would like to ask to provide us an example that uses UniDAC and demonstrates the wrong behavior.
To submit it you can use the form on our website: https://devart.com/company/contactform.html