Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - C and C++ Programming » UltraLite C/C++ Common API Reference

ULEnableHttpsSynchronization function Next Page

ULEnablePalmRecordDB function (deprecated)


Use a standard record-based data store on a device operating the Palm Computing Platform.

Deprecated function

This function is not required in UltraLite beginning with version 10. The file name determines the location of the data store on a device operating under Palm OS.

Syntax

void ULEnablePalmRecordDB( SQLCA * sqlca );

Parameters

sqlca    A pointer to the SQLCA. This argument is supplied even in C++ Component and C++ API applications.

In the C++ Component use the Sqlca.GetCA method.

Examples

The following embedded SQL code illustrates the use of ULEnablePalmRecordDB.

db_init( & sqlca );
ULEnablePalmRecordDB( &sqlca );
// connection code here
if( SQLCODE == SQLE_CONNECTION_RESTORED ){
    // connection was restored
    // cursor is already open
} else {
    // open cursor
}
See also