Lesson 5: Creating a DataWindow

In this lesson, you create a new DataWindow object in the DataWindow library you created in the previous lesson.

  1. Select File|New|Other from the main menu bar to open the New creation wizard.

  2. Select Sybase|DataWindow and click Next.

  3. When the Create DataWindow Object wizard opens, do the following:

  4. Click Next.

  5. On the Database Connection Profile page, select MySybStore and click Next.

  6. On the Choose Data Source for Tabular DataWindow page select the Quick Select icon and click Next.

  7. On the Quick Select page, select saledata in the Tables list, click Add All to include all columns in the DataWindow.

    The table at the bottom displays the column headings from the Columns list.

    Click OK.

  8. When the Select Color and Border Settings dialog box opens, accept the default settings and click Next.

  9. When the Ready to Create Tabular DataWindow dialog box opens, click Finish.

    The orders DataWindow is created and opens in an editor.

  10. Select File|Close to close the Orders DataWindow.

The orders DataWindow file appears under MySybStore_Tutorials_Web/webroot/pb/dwlibrary1.pbl in the WorkSpace Navigator.