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.

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

For information about valid identifiers, see “identifier names” in the online Help.

StepsTo save the DataWindow object:

  1. Select File>Save from the menu bar.

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

    If you have not previously saved the DataWindow object, PocketBuilder 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.