He !! ales
I ve a problem, when trying to delete a master record the detail records don't delete all
I have write the following code :
master_dataset (On before delete )
{
detail_dataset->First()
while(!detail_dataset->Eof)
detail_dataset->Delete();
}
I use the C++Builder 5 and MyDAC 440
thank you for ur help
Master detail Problem
Thank you for the information. Unfortunately we could not reproduce the problem.
Please send us (evgeniyD*crlab*com) a complete small sample to demonstrate it, including script to create and fill table.
Also supply us the following information
- Exact version of MyDAC. You can see it in About sheet of TMyConnection Editor
- Exact version of MySQL server and MySQL client. You can see it in Info sheet of TMyConnection Editor
Please send us (evgeniyD*crlab*com) a complete small sample to demonstrate it, including script to create and fill table.
Also supply us the following information
- Exact version of MyDAC. You can see it in About sheet of TMyConnection Editor
- Exact version of MySQL server and MySQL client. You can see it in Info sheet of TMyConnection Editor