TUniQuery couldn't set connection from other module

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
makhaon
Posts: 4
Joined: Thu 23 Jun 2016 06:18

TUniQuery couldn't set connection from other module

Post by makhaon » Thu 23 Jun 2016 06:35

Hi.
Probably I found a bug. I try to set Connection property with TUniConnection from other data module, and I coldn't do it, cause error occures:

---------------------------
Error
---------------------------
Invalid property value.
---------------------------
OK
---------------------------

I had to do it in the OnCreate of the form: UniQuery1.Connection := DataModule5.UniDatabaseCommRD. In this case it works. We move to UniDAC from IBX, IBX components could set connection in this case.

I'm use the latest trial components from your site on the Delphi XE6.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: TUniQuery couldn't set connection from other module

Post by ViktorV » Thu 23 Jun 2016 10:36

Unfortunately, we can't reproduce this problem on latest versions of UniDAC 6.3.12. To investigate this behavior of UniDAC, please compose a small sample demonstrating the problem and send it to viktorv*devart*com, including database objects creating scripts.

makhaon
Posts: 4
Joined: Thu 23 Jun 2016 06:18

Re: TUniQuery couldn't set connection from other module

Post by makhaon » Thu 23 Jun 2016 12:37

Thank you for fast reply, I'll try to reproduce issue and conact you later.

Post Reply