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.
Click Start » Programs » SQL Anywhere 11 » UltraLite » Windows Sample Application.
Enter an employee ID.
Type a value of 50 and click OK.
The application automatically synchronizes and a set of customers, products, and orders are downloaded to the application from the CustDB consolidated database.
Click Order » New.
Enter a new Customer Name. For example, enter Frank Javac.
Choose a product, and enter the quantity and discount.
Click OK 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.
Click File » Synchronize.
A message appears indicating one Insert successfully uploaded to the consolidated database.
For more information about the CustDB Windows Application, see Exploring the CustDB sample for MobiLink.
|Envoyer votre avis sur cette page par email.||Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|