EndTransaction

EndTransaction is used to release the database without closing the database, it can also be used to change the mode of the transaction.
unsigned int EndTransaction(
);

Parameters

void

Return Values

If the method succeeds, the return value is zero else see error codes for more details.

Remarks

Example Use
CODBPP database;
unsigned int error;
char16_t *message;
if(database.OpenDatabase(TEXT("YourDatabse")) == NO_ERROR){
   while(error == NO_ERROR){
      if((error = database.BeginTransation()) == NO_ERROR){
         ...
      }
      if(error && database.GetErrorMessage(&message) == NO_ERROR)
         MessageBox(message);
      database.EndTransaction();
   }
}
database.CloseDatabase();

Also See

AbortTransaction, BeginTransaction, CommitTransaction
 

Contact Ekky Software

All around the world Ekky Software is contactable seven days of the week by submitting the following details.

Thank you for your time and interest.
Ekky Software Customer Support Team.

Ekky Software Product Range
Ekky Software Homepage Texas Business Software ObjectDatabase++ TScript Ekky Software Homepage Texas Business Software ObjectDatabase++ TScript