UltraLite User's Guide
C++ API Reference
ULConnection class
bool Rollback( )
Rolls back outstanding changes to the database.
true (1) if successful.
false (0) if unsuccessful.
The following code inserts a value to the database, but then rolls back the change.
productTable.Open( &conn ); productTable.SetProd_id( 2 ); productTable.SetPrice( 3000 ); productTable.SetProd_name( "8' 2x4 Studs x1000" ); productTable.Insert(); conn.Rollback();