Lesson 9: Creating a Sales Application  Lesson 9: Creating a Sales Application


Run the application

Note

Now you run the SalesDB application.

NoteAbout troubleshooting the application If you have problems running the application, read the troubleshooting information in “Troubleshoot the application”.

  1. Tap the Start Menu on the Pocket PC, and in the Programs menu, select File Explorer.

  2. Navigate to the directory where the SalesDB sample application is installed (\Program Files by default).

  3. Tap SalesDB_tutorial.exe to start the SalesDB application.

    When you run SalesDB the first time, the Sync Options window pops up and you can type your MobiLink user name and password.

  4. Using the Soft Input Panel, type 51 in the MLUser text box and leave the MLPassword text box blank.

    NoteSingle-user devices only The databases you generated using the MakeDB.cmd batch file are intended for single-user devices only. Adaptive Server Anywhere does have the capability to handle multiple user devices, but this is beyond the scope of this lesson.

  5. Click OK.

    This automatically launches a synchronization request. Data that is relevant to the employee is downloaded to the Pocket PC after the first synchronization. Any changes made in the SalesDB application will be updated in the consolidated database during the next synchronization.

    Shown is the Quick Select screen. At top left is a Tables list box with the customer table highlighted. At right is a Columns list box showing all the columns of the customer table, such as i d, f name, and l name. At the bottom is a scrollable blank display area with rows labeled Column, Sort, Criteria, and Or.
  6. Browse the sales data using the Next and Previous buttons.

    Examine the menu items at the bottom: File, Order, Go, and Help.

  7. Click the Order menu item to add a new sales order or remove a sales order.

    Shown is the Quick Select screen. At top left is a Tables list box with the customer table highlighted. At right is a Columns list box showing all the columns of the customer table, such as i d, f name, and l name. At the bottom is a scrollable blank display area with rows labeled Column, Sort, Criteria, and Or.




Copyright © 2004. Sybase Inc. All rights reserved. Lesson 9: Creating a Sales Application

View this book as PDF