Jump to Real's How-to Main page

No commit on GPF

When a transaction disconnects due to severe errors, theit is 'normal' ODBC-Powerbuilder behaviour is to commit the current transaction.

With PB6 (or better), the following DbParm parameter is available. To specify to rollback when you disconnect from the database :

SQLCA.DBParm = "CommitOnDisconnect = 'No'"

If you find this article useful, consider making a small donation
to show your supportfor this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2005
[ home ]