UltraLite ActiveX User's Guide
Tutorial: An UltraLite Application for PocketPC
Lesson 3: Write the sample code
The ASA 9.0 Sample database has a Customer table with columns matching those in the customer table in your UltraLite database. The following procedure synchronizes your database with the ASA 9.0 Sample database.
To synchronize your application
From a command prompt, start the MobiLink synchronization server by running the following command line:
dbmlsrv9 -c "dsn=ASA 9.0 Sample" -v+ -zu+ -za
The -zu+
and -za
command line options provide automatic addition of users and generation of synchronization scripts. For more information about these options, see MobiLink Synchronization Server Options.
Start the UltraLite application.
Delete all the rows in your table.
Any rows in the table would be uploaded to the Customer table in the ASA 9.0 Sample database.
Synchronize your application.
Click Synchronize.
The MobiLink synchronization server window displays the synchronization progress.
When the synchronization is complete, click Next and Previous to move through the rows of the table.