The following example creates a remote database for CustDB. The CustDB remote database must be an UltraLite database.
The application logic for the remote database is located in %SQLANYSAMP16%\UltraLite\CustDB. It includes the following files:
Embedded SQL logic The file custdb.sqc contains the SQL statements needed to query and modify information from the UltraLite database, and the calls required to start synchronization with the consolidated database.
C++ API logic The file custdbcpp.cpp contains the C++ API logic.
User-interface features These features are stored separately, in platform-specific subdirectories of Samples\UltraLite\CustDB.
To install the sample application to a remote device that is running UltraLite, do the following:
Start the consolidated database.
Start the MobiLink server.
Install and start the sample application to your client device.
Synchronize the sample application.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0|