Page 1 of 1

Source/MasterFields/DetailFields and TUniQuery

Posted: Tue 07 Jul 2009 13:36
by emassei
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,

Posted: Wed 08 Jul 2009 07:18
by Plash
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.

unidac*devart*com?

Posted: Thu 09 Jul 2009 05:54
by emassei
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,

Re: Source/MasterFields/DetailFields and TUniQuery

Posted: Mon 11 May 2015 00:58
by claveljr
Is there any answer to the question ?

Re: Source/MasterFields/DetailFields and TUniQuery

Posted: Tue 12 May 2015 11:12
by AlexP
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.