Contents Index PalmLaunch method ULCursor class pdf/preface.pdf

UltraLite User's Guide
  C++ API Reference
    ULData class

Reopen method


Prototype 

bool  Reopen ( )

bool  Reopen( SQLCA* ca )

Description 

This method is available for the Palm Computing Platform only.

When developing Palm applications, you should never close the database 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.

Parameters 

Open( )    No arguments are needed if you are not using embedded SQL as well as the C++ API in your application.

Open( SQLCA* ca )    If you are also using embedded SQL in your application, and you have a non-default SQLCA in use, you can use this method to access the same data using the C++ API.

Returns 

true (1) if successful.

false (0) if unsuccessful.

Example 

The following example reopens a database object and a connection object:

db.Reopen();
conn.Reopen( &db );
See also 

Open method


Contents Index PalmLaunch method ULCursor class pdf/preface.pdf