Make use of the following:
ErrorOccurred = .F.
On Error do ErrorHandler with ErrorOccurred
Begin Transaction
&& update the tables
If not ErrorOccurred
End Transaction
Endif
procedure ErrorHandler
parameters Error
&& display your error message here...
RollBack
Return
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only