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

SQL Anywhere 12.0.1 » UltraLite - Database Management and Reference » Tutorial: Building the UltraLite CustDB sample application


Lesson 2: Logging in and populating the UltraLite remote database

This lesson demonstrates how to:

  • Start the sample MobiLink server.

  • Start the sample UltraLite client application.

  • Log into UltraLite.

In this tutorial, the sample application is running on the same desktop computer as the MobiLink server. However, you can deploy a client application to the device and achieve the same result.

 Start and synchronize the sample application
  1. Click Start » Programs » SQL Anywhere 12 » MobiLink » Synchronization Server Sample. Or, execute the following command:

    mlsrv12 -c "DSN=SQL Anywhere 12 CustDB" -vcrs

    (Use on Mac OS X or Linux.)

    The window displays messages about the MobiLink server's status.

  2. Click Start » Programs » SQL Anywhere 12 » UltraLite » Windows Sample Application.

  3. On the File menu, click Synchronize.

    The application synchronizes and the MobiLink server messages window displays messages showing the synchronization taking place.

    The synchronization script determines which subset of customers, products, and orders is downloaded to the application when user 50 logs in. In this case, only orders that have not yet been approved are downloaded.

  4. Confirm that the company name and a sample order appear in the application window.