Saving the DataWindow object

When you have created a DataWindow object, you should save it. The first time you save it you give it a name. As you work, you should save your DataWindow object frequently so that you do not lose changes.

To save the DataWindow object

  1. Select File > Save from the menu bar.

    If you have previously saved the DataWindow object, PowerBuilder saves the new version in the same library and returns you to the DataWindow painter.

    If you have not previously saved the DataWindow object, PowerBuilder displays the Save DataWindow dialog box.

  2. (Optional) Enter comments in the Comments box to describe the DataWindow object.

  3. Enter a name for the DataWindow object in the DataWindows box.

  4. Specify the library in which the DataWindow object is to be saved and click OK.

Naming the DataWindow object

The DataWindow object name can be any valid PowerBuilder identifier up to 255 contiguous characters.A common convention is to prefix the name of the DataWindow object with d_.

For information about PowerBuilder identifiers, see the section called “Identifier names” in PowerScript Reference.