Introduction to PowerBuilder

HomePrevious Lesson: Graph Types:
Next Lesson: User Object

DataWindow Control

A DataWindow control is a container for a DataWindow object. The definition of a DataWindow object contains the data source (SQL Statement/ Stored Procedure) and the format of the results. You paint the DataWindow Object in a DataWindow painter. DataWindow Object it self can't do anything. You need to place a DataWindow Object in a DataWindow control. All the script you write is for the DataWindow control.

To use a DataWindow control, you must:

  1. Create a DataWindow object which contains data from the source.
  2. Add a DataWindow control to your window.
  3. Associate the control with the object.
HomePrevious Lesson: Graph Types:
Next Lesson: User Object