Selecting a SQL Data Source

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.

  1. Create a new DataWindow object.
  2. Enter the DataWindow name and click Next.
  3. Select SQL and click Next.
  4. 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.
  5. Follow the instructions for the type you selected.
    When you finish, you return to the DataWindow wizard.
  6. You can continue with the remaining steps of the wizard or click Finish to proceed to the DataWindow painter.