Contents Index Close method First method

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

Delete method


Prototype 

bool  Delete( )

Description 

Deletes the current row from the current table or result set.

Returns 

true (1) if successful.

false (0) if unsuccessful. For example, if you attempt to use the method on a SQL statement that represents more than one table.

Example 

The following example deletes the last row from a table tb:

tb.Open( &conn );
tb.Last();
tb.Delete();
See also 

Insert method

Update method


Contents Index Close method First method