Language Reference Guide : System Classes : DBSessionObject Class : CommitWork Method
 
Share this page          
CommitWork Method
The CommitWork method issues a commit in the database session.
This method has the following syntax:
integer = DBSessionObject.CommitWork()
The CommitWork method returns ER_OK on success. Otherwise, it returns a non-zero value. Invoking this method has the same effect as issuing the SQL commit statement.