Save the DataWindow object

Now you name the DataWindow object and save it in the tutorial.pbl library.

Saving to another library

You can save objects to different application libraries, but to avoid complications, you save all your new tutorial objects in one library. You can also copy or move objects from one library to another using the Library painter.

Follow the following steps to name the DataWindow object and save it in the tutorial.pbl library.

  1. Select File > Save from the menu bar.

    The Save DataWindow dialog box appears with the insertion point in the DataWindows box.

  2. Make sure tutorial.pbl is selected in the Application Libraries box.

    Type d_customer in the DataWindows box.

    This names the DataWindow object. The prefix d_ is standard for DataWindow objects.

  3. (Optional) Type the following comments in the Comments box:

    This DataWindow object retrieves customer names and company associations.

  4. Click OK.

    PowerBuilder saves the DataWindow object and closes the Save DataWindow dialog box.