The following procedure starts the sample UltraLite client application, the sample MobiLink server, and populates the UltraLite remote database by synchronizing the UltraLite CustDB sample remote database to obtain an initial set of data from SQL Anywhere consolidated database. In this walkthrough the sample application is running on the same desktop computer as the MobiLink server. However, you can also deploy a client application to the device and achieve the same result.
The data you download depends on the user ID you enter when you start the application. By default, user ID 50 is used to log into UltraLite.
Launch the MobiLink server sample.
At a command prompt enter:
mlsrv10 -c "DSN=SQL Anywhere 10 CustDB" -zu+ -vcrs
Or, from the Start menu, choose Programs > SQL Anywhere 10 > MobiLink > MobiLink Server Sample.
If the server starts, a console window appears displaying messages on the MobiLink server's status.
Launch the UltraLite client sample application.
From the Start menu, choose Programs > SQL Anywhere 10 > UltraLite > Windows Sample Application.
Enter an employee ID.
Type 50 then press Enter.
After you enter the employee ID, the application synchronizes. The MobiLink server console 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.
Confirm that the application contains data.
A company name and a sample order should appear in the application window.