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,
Source/MasterFields/DetailFields and TUniQuery
unidac*devart*com?
Hello,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.
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
Is there any answer to the question ?
Re: Source/MasterFields/DetailFields and TUniQuery
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.