Hi all,
Is it Possible to use the the componet MyQuery instead of SqlQuery(dbExpress)
in the tipical configuration of Master/Detail with one DataSetProvider (link to ClientDataSet-Master) and ClientDataSet-Detail
link to the Master through the dataSetField. I tried this, Configuring Relation
Master/Detail on Component MyQuery-Detail.
It run Good reading Data Master/Detail, but in Insert mode it don't assign
the MasterField on the detail.
tnx, bye.
Master/Detail
I tried to reproduce the problem using your description, but created application works fine for me. When I insert a record in ClientDataSet-Detail, it obtains the correct value for the master field. Applying updates also does not cause any problems.
Please send me a complete small sample at evgeniyD*crlab*com to demonstrate it, including script to create and fill table.
Also supply me the following information:
- exact version of MyDAC. You can see it in the About sheet of TMyConnection Editor;
- exact version of your IDE (including personality name for Delphi 2005, and BDS 2006);
- exact version of MySQL server and MySQL client. You can see it in the Info sheet of TMyConnection Editor.
Please send me a complete small sample at evgeniyD*crlab*com to demonstrate it, including script to create and fill table.
Also supply me the following information:
- exact version of MyDAC. You can see it in the About sheet of TMyConnection Editor;
- exact version of your IDE (including personality name for Delphi 2005, and BDS 2006);
- exact version of MySQL server and MySQL client. You can see it in the Info sheet of TMyConnection Editor.
MyDAC Developer Edition includes MySQL Developer Tools.
You can read more about MyDAC Editions in the MyDAC Editions topic at MyDAC home page.
You can read more about MyDAC Editions in the MyDAC Editions topic at MyDAC home page.