Progress
AppBuilder
Developer’s Guide


Creating a Basic Data Viewer Instance

Unlike a SmartDataViewer, a basic Data Viewer (DB–Fields) object is not based on a master, but you must define the query it will use.

To create and place a basic Data Viewer object, follow these steps:

  1. Click on the basic Data Viewer (DB–Fields) tool icon in the Object Palette:
  2. Click on a bare spot in your workspace to begin the placement process. Query Builder will immediately open.
  3. Define the query. See the "Defining and Editing Queries Using Query Builder" section in "Data-access Objects," for more information.
  4. NOTE: While you can elect to jump out of Query Builder and create a free-form query, you cannot later use Query Builder to maintain it. Should you change your mind after confirming that you wish to create a free-form query, your only recourse will be to delete the Viewer object altogether and create a new one.

  5. When you have defined the query terms and chosen the fields the Viewer will display, choose OK to dismiss Query Builder. Your Viewer widgets will appear in a single column in your workspace.
  6. If the default single-column arrangement does not meet your layout needs, select and move the fields, either individually or in subgroups, into a more appropriate arrangement. Since there is no master object involved, the layout you create will have no effect on any basic Data Viewers you place in future.

Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095