Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Handling errors inside a transaction
Divers
Thread ID:
00523402
Message ID:
00523402
Vues:
32
How can i "friendly" handle errors inside a transaction?
I was thinking about something like this:
xOldError = ON("ERROR")
BEGINTRANSONERROR xError = .T.
&& inserts, updates and stuff go hereif xError == .T.
&& not sure about what to put in here!!!endif
ENDTRANS
ONERROR &xOldError