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

SQL Anywhere 12.0.0 (Français) » UltraLite - Database Management and Reference » Using UltraLite databases » UltraLite CustDB samples

 

Lesson 2: Log in and populate 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.

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

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

    (Use mobilink.sh on Mac OS X or Linux.)

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

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

  3. In the Employee ID field, type 50. Press Enter.

    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.