Error in Master-Detail
Posted: Thu 05 Mar 2009 16:06
I want buy a Unidac components, but I find some problems in Unidac components. My English is very weak, then I would like to know if another way exists some to get help, as for example books.
I did not receive reply on the last told problem and it is not viable to use a component with this problem. I build a master-detail using TUniQuery-TDatasetProvider-TClientDataset. If occurrs a exception in detail, the transaction is not cancelled. I build a example that can be downloaded in this link:
http://www.4shared.com/file/91284022/c6 ... Teste.html
In this example, if the CODDEPT field value is bigger that 3 will be generated an exception. Then in this case we can see that master is saved and last detail record before exception is saved too. I need that all transaction was cancelled.
I am using Unidac 2.00 trial, FireBird 2.0 and Delphi 7
I am waiting answer in [email protected]
Thanks for atention
Alisson Costa Resende
I did not receive reply on the last told problem and it is not viable to use a component with this problem. I build a master-detail using TUniQuery-TDatasetProvider-TClientDataset. If occurrs a exception in detail, the transaction is not cancelled. I build a example that can be downloaded in this link:
http://www.4shared.com/file/91284022/c6 ... Teste.html
In this example, if the CODDEPT field value is bigger that 3 will be generated an exception. Then in this case we can see that master is saved and last detail record before exception is saved too. I need that all transaction was cancelled.
I am using Unidac 2.00 trial, FireBird 2.0 and Delphi 7
I am waiting answer in [email protected]
Thanks for atention
Alisson Costa Resende