Error in Master-Detail
Error in Master-Detail
I have a error using a master-detail with UniQuery/DatasetProvider/ClientDataset. When there is a exception in detail, my program don´t cancel the transaction and the master is saved. It´s necessary any configuration in DatasetProvider?
-The provider is InterbaseUniProvider.
-I don't call ApplyUpdates for detail ClientDataset. In Master-detail mode is enough to call ApplyUpdates to Master ClientDataset.
-I call ApplyUpdates for the master dataset after call Post Method.
-I don't start a transaction manually. The DatasetProvider controls the transaction.
-I don't call ApplyUpdates for detail ClientDataset. In Master-detail mode is enough to call ApplyUpdates to Master ClientDataset.
-I call ApplyUpdates for the master dataset after call Post Method.
-I don't start a transaction manually. The DatasetProvider controls the transaction.
-
- Posts: 387
- Joined: Fri 18 Nov 2005 00:26
- Location: Brazil
Please, view the Devart solution in the postAlisson wrote:-The provider is InterbaseUniProvider.
-I don't call ApplyUpdates for detail ClientDataset. In Master-detail mode is enough to call ApplyUpdates to Master ClientDataset.
-I call ApplyUpdates for the master dataset after call Post Method.
-I don't start a transaction manually. The DatasetProvider controls the transaction.
http://www.devart.com/forums/viewtopic.php?t=15332
-
- Posts: 387
- Joined: Fri 18 Nov 2005 00:26
- Location: Brazil
Please, view the Devart solution in the postAlisson wrote:-The provider is InterbaseUniProvider.
-I don't call ApplyUpdates for detail ClientDataset. In Master-detail mode is enough to call ApplyUpdates to Master ClientDataset.
-I call ApplyUpdates for the master dataset after call Post Method.
-I don't start a transaction manually. The DatasetProvider controls the transaction.
http://www.devart.com/forums/viewtopic.php?t=15332