Contents Index Maintaining database state on Palm OS Using the persistent name

UltraLite for MobileVB User's Guide
  Understanding UltraLite for MobileVB Development
    Maintaining database state on Palm OS

Databases on the Palm Computing Platform


It is important to distinguish between the Palm database and relational databases such as UltraLite. In this documentation, the term PDB means a Palm database and database refers to an UltraLite relational database.

UltraLite databases on the Palm Computing Platform  

When writing UltraLite applications for the Palm Computing platform, you identify the UltraLite database by the Palm creator ID. UltraLite actually stores database information in multiple PDBs, whose names are constructed using the given creator ID. For example, a database created with a creator ID of ABCD causes the following files to be created:

UltraLite uses the ul_state_ABCD PDB to maintain state information about any open cursors or tables when the application exits. State information means the current row on which the user is positioned. This is how UltraLite allows you to write your application so that when it is launched, users can resume where they left off.

The state PDB stores a name for the table whose state is being preserved, as well as enough information to restore the table to that state. The name associated with the table may be, but is not required to be, the name of the table. It is called the persistent name since it is the name that persists in the PDB.


Contents Index Maintaining database state on Palm OS Using the persistent name