Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
UltraLite comes with a sample Windows client that automatically invokes the dbmlsync utility when the user issues a synchronization. It is a simple sales-status application that you can run against the CustDB consolidated database you started in the previous lesson.
Choose Start » Programs » SQL Anywhere 11 » UltraLite » Windows Sample Application.
Enter an employee ID.
Input a value of 50 and press Enter.
The application automatically synchronizes, and a set of customers, products, and orders are downloaded to the application from the CustDB consolidated database.
In the next section you enter a new customer name and order details. During a subsequent synchronization, this information is uploaded to the CustDB consolidated database and the upload_insert and download_cursor events for the ULCustomer table triggers.
From the Order menu, choose New.
Enter a new customer name. For example, enter Frank DotNET.
Choose a product, and enter the quantity and discount.
Press Enter to add the new order.
You have now modified the data in your local UltraLite database. This data is not shared with the consolidated database until you synchronize.
From the File menu, choose Synchronize.
A message indicating the Insert successfully uploaded to the consolidated database appears.
For more information about the CustDB Windows Application, see Exploring the CustDB sample for MobiLink.
|Discuss this page in DocCommentXchange.
Send feedback about this page using email.
|Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|