Contents Index Close method CountUploadRows method

UltraLite Static C++ User's Guide
  C++ API Reference
    ULConnection class

Commit method


Prototype 

bool  Commit( )

Description 

Commits outstanding changes to the database.

Returns 

true (1) if successful.

false (0) if unsuccessful.

Example 

The following code inserts a value to the database, and commits the change.

productTable.Open( &conn );
productTable.SetProd_id( 2 );
productTable.SetPrice( 3000 );
productTable.SetProd_name( "8' 2x4 Studs x1000" );
productTable.Insert();
conn.Commit();
See also 

Rollback method


Contents Index Close method CountUploadRows method