Lesson 7: Creating an Employee List  Lesson 7: Creating an Employee List


Copy the DSN and the database to the Pocket PC

Note

Now you must copy the DSN to the root directory of the Pocket PC device and the asademo.db database to the \Program Files\Sybase\ASA directory of the device.

  1. If your Pocket PC is not on, turn it on.

  2. Open ActiveSync.

    ActiveSync displays on the desktop and connects to your Pocket PC.

    Shown is the Customer window titled Maintain Customers 1. Across the top half of the screen are the column headings Customer I D, First Name, Last Name, and Company Name. They have rows of actual data and a hand icon at the left points to the top row. The bottom half of the screen shows data in labeled text boxes on the left side for Customer I D, First Name, Last Name, Company Name, and Phone Number. On the right side are labeled text boxes with data for Address and City, a drop down for State set to NJ, and then a text box with data for Zip Code.
  3. In ActiveSync, click Explore.

    A view of files in the Pocket PC displays.

    Shown is the Customer window titled Maintain Customers 1. Across the top half of the screen are the column headings Customer I D, First Name, Last Name, and Company Name. They have rows of actual data and a hand icon at the left points to the top row. The bottom half of the screen shows data in labeled text boxes on the left side for Customer I D, First Name, Last Name, Company Name, and Phone Number. On the right side are labeled text boxes with data for Address and City, a drop down for State set to NJ, and then a text box with data for Zip Code.
  4. Double-click MyPocketPC.

    This brings you to the root directory ( \ ).

  5. Using the Windows Explorer on the desktop, copy the ASA 9.0 Sample.dsn from the temporary directory where you saved it and paste it in the root directory in ActiveSync.

    Shown is the Customer window titled Maintain Customers 1. Across the top half of the screen are the column headings Customer I D, First Name, Last Name, and Company Name. They have rows of actual data and a hand icon at the left points to the top row. The bottom half of the screen shows data in labeled text boxes on the left side for Customer I D, First Name, Last Name, Company Name, and Phone Number. On the right side are labeled text boxes with data for Address and City, a drop down for State set to NJ, and then a text box with data for Zip Code.
  6. Now using Windows Explorer on the desktop again, copy the asademo.db from the \Program Files\Sybase\SQL Anywhere 9 directory on your desktop to the \Program Files\Sybase\ASA directory of the device.

    Shown is the Customer window titled Maintain Customers 1. Across the top half of the screen are the column headings Customer I D, First Name, Last Name, and Company Name. They have rows of actual data and a hand icon at the left points to the top row. The bottom half of the screen shows data in labeled text boxes on the left side for Customer I D, First Name, Last Name, Company Name, and Phone Number. On the right side are labeled text boxes with data for Address and City, a drop down for State set to NJ, and then a text box with data for Zip Code.

Now you are ready to build and deploy the application.





Copyright © 2004. Sybase Inc. All rights reserved. Lesson 7: Creating an Employee List

View this book as PDF