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 PocketBuilder 2.5 in the Start Menu on the Pocket PC, or tap the Start>Programs item and select the File Explorer.

    If you tap PocketBuilder 2.5, the PocketBuilder Application List utility displays.

  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 MakeDB10.cmd batch file are intended for single-user devices only. SQL 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 main application window as it appears on the deployment device. The data for the first row in the database has been retrieved in the Data Window control on the main application window.
  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 window to add a new order to the database. It has fields for the customer, product, quantity, price, and discount for the order.