Basic process

Using a DataWindow involves two main steps:

  1. Use the DataWindow wizard to create a DataWindow object.

    In the wizard, you define the data source, presentation style, and some properties of the object, such as display formats, validation rules, sorting and filtering criteria, and graphs.

  2. Use the DataWindow painter to design a DataWindow object.

    In the painter, you define other properties of the object, such as display formats, validation rules, sorting and filtering criteria, and graphs.

  3. Put a DataWindow control in a window or visual user object and associate a DataWindow object with it.

    It is through this control that your application communicates with the DataWindow object you designed in the DataWindow painter. You write code to manipulate the DataWindow control and the DataWindow object it contains. A complete set of events and methods programmed in PowerScript provides control over all aspects of the DataWindow. Typically, your code retrieves and updates data, changes the appearance of the data, handles errors, and shares data between DataWindow controls.