When creating a DataWindow object using SQL, you can choose one of four SQL data source types: Quick Select, SQL Select, Query Object, or paste SQL from the clipboard.
See the PowerBuilder Users Guide for information about the data source types.
- Create a new DataWindow object.
- Enter the DataWindow name and click Next.
- Select SQL and click Next.
- Select the SQL data source type to use:
- Quick Select SQL
- SQL Select
- Select Query Object
- Paste SQL from Clipboard
You can also enter SQL directly into the SQL Statement area.
- Follow the instructions for the type you selected.
When you finish, you return to the DataWindow wizard.
- You can continue with the remaining steps of the wizard or click Finish to proceed to the DataWindow painter.