UltraLite User's Guide
C++ API Reference
ULConnection class
bool Reopen ( )
bool Reopen( ULData *db, ul_char * name = SQLNULL )
This method is available for the Palm Computing Platform only. The ULData object must be reopened for this call to succeed.
When developing Palm applications, you should never close the connection object. Instead, you should call Reopen when the user switches to the UltraLite application. The method prepares the data in use by the database object for use by the application.
db A pointer to the ULData object on which the connection is made. This argument is usually the address of the ULData object opened prior to reopening the connection.
name An optional name for the connection. This is needed only if you have multiple connections from a single application to the same database.
true (1) if successful.
false (0) if unsuccessful.
The following example reopens a database object, and then a connection object:
db.Reopen(); conn.Reopen( &db );