Source/MasterFields/DetailFields and TUniQuery

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
emassei
Posts: 2
Joined: Tue 07 Jul 2009 13:32

Source/MasterFields/DetailFields and TUniQuery

Post by emassei » Tue 07 Jul 2009 13:36

Hello,

I am facing a bug with Master Source/MasterFields/DetailFields and TUniQuery.

If the UniConnection is in another Form, the Master Source/MasterFields/DetailFields do not Work .

If I use TUniTable (instead of TUniQuery) or the option localMasterDetail (Too slow in my case) it works.
If I put the UniConnection in the Same Form it work.

As I do not want to duplicate the UniConnection in all my forms, this bug is important for Me.

Note: I am using MySQL Direct Connection. (Non Direct Connection is not solving the problem)

Thanks for your support,

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Wed 08 Jul 2009 07:18

We could not reproduce the problem. Please send to unidac*devart*com a complete small sample that demonstrates the problem, including the script for creating database objects.

emassei
Posts: 2
Joined: Tue 07 Jul 2009 13:32

unidac*devart*com?

Post by emassei » Thu 09 Jul 2009 05:54

Plash wrote:We could not reproduce the problem. Please send to unidac*devart*com a complete small sample that demonstrates the problem, including the script for creating database objects.
Hello,

I have sent the email (with complete sample and sql file) to unidac*devart*com with the subject Bug: UniDac Source/MasterFields/DetailFields and TUniQuery

Just generate the 2 tables (Master and Detail with the file test.sql)
unzip test2.zip (It contain the Sample source done with Delphi 2009).
Complile and Launch.
The application will ask you your connection to the MySQL Database (2 times, one for Form1 and one for Form2)

The Left Part of the screen will show a classical sample Master Detail connectet the a UniConnection inside the MainScreen.

The Right Part of the screen will show exactly the sample thing but connected to the UniConnection inside the Form2.

The Left Part is working fine.
The Right Part do not work (The connection Master/Detail seems to link to a Null Key).

Bonus: I have noticed that the Propertie UniTable/OrderFields cause an Error
And I have no D: Drive

Thanks,

claveljr
Posts: 4
Joined: Sat 30 Mar 2013 08:40

Re: Source/MasterFields/DetailFields and TUniQuery

Post by claveljr » Mon 11 May 2015 00:58

Is there any answer to the question ?

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Source/MasterFields/DetailFields and TUniQuery

Post by AlexP » Tue 12 May 2015 11:12

We cannot reproduce the problem on the latest UniDAC version. Try to reproduce the problem on the latest UniDAC version 6.1.3. If the problem repeats, please send us a sample reproducing the problem.

Post Reply