UltraLite User's Guide
C++ API Reference
ULCursor class
bool Insert( )
Inserts a row in the table with values specified in previous Set methods.
true (1) if successful.
false (0) if unsuccessful.
The following example inserts a new row into the table based at the current position:
productTable.SetProd_id( 2 ); productTable.SetPrice( 3000 ); productTable.SetProd_name( "8' 2x4 Studs x1000" ); productTable.Insert();
When inserting a row, you must supply a value for each column in the table.
For information on cursor positioning after inserts, and the position of the inserted row, see Using table and query classes.