UltraLite User's Guide
Developing C++ API Applications
Working with the C++ API classes
Each table or query is represented by a class. The API for accessing and modifying the rows in the table or query is based on a SQL cursor: a pointer to a position in the table or query.
The cursor can have the following positions:
Before the first row This position has value 0. This is the position of the cursor when the table or query is opened.
On a row If a table or query has n rows, positions 1 to n for the cursor correspond to the rows.
After the last row This position has value (n+ 1)
You can move through the rows of the object using methods of the object, including Next() and Previous().
If you are developing an application for the Palm Computing Platform, there are some extra considerations for how to use these objects.
For more information, see Launching and closing UltraLite applications.