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

SQL Anywhere 11.0.1 » 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 11 » MobiLink » Synchronization Server Sample. Or, execute the following command:

    mlsrv11 -c "DSN=SQL Anywhere 11 CustDB" -zu+ -vcrs

    A command prompt appears displaying messages about the MobiLink server's status.

  2. Choose Start » Programs » SQL Anywhere 11 » 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 default 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.