Progress
AppBuilder
Developer’s Guide


Creating a SmartDataBrowser Master

The first step in defining a new SmartDataBrowser master is always to identify the source of the data stream. Because of this dependency, you must first create your SmartDataObject, then create the SmartDataBrowser. See the "Creating a SmartDataObject Master" section in "Data-access Objects", for information about that process.

AppBuilder supplies a Wizard to help with creating SmartDataBrowser masters. The Wizard has four pages, only two of which involve significant work:

  1. Introduction
  2. Identifying the data source
  3. Selecting the fields to display from the data stream
  4. Congratulations

To create a SmartDataBrowser master, follow these steps:

  1. Start the SmartDataBrowser Wizard by clicking on the SmartDataBrowser tool icon in the Object Palette:
  2. When the Choose dialog box opens, choose New.

    NOTE: You could also start the Wizard by choosing File New and selecting the SmartDataBrowser item from the list, or by right-clicking the icon in the Palette and selecting New SmartDataBrowser from the menu that appears.

  3. The SmartDataBrowser Wizard starts up, and displays its first page:
  4. When you have finished reading the introductory text, choose Next to move to Page 2:
  5. Choose the Browse button and select the appropriate SmartDataObject master. Its filename will appear in the fill–in.
  6. Choose Next to move to Page 3:
  7. Choose the Add Fields button to open a Multi-Field Selector dialog box:
  8. The fields Available for display appear in the left-hand list. Select those you wish the SmartDataBrowser to display and click the Add button to move them to the Selected list in the right-hand window. If you make a mistake, click the Remove button.
  9. When you have finished selecting fields, you can reorder them using the Move Up and Move Down buttons. When they are in the order you want them displayed, choose OK. The Selector dialog box closes and the list of selected fields appears in the Wizard:

  10. Choose Next to advance to the Wizard’s final page. If you have successfully defined a data source and selected the fields to display, you will see “Congratulations!”. If you do not, choose the Back button and make any necessary changes:
  11. Choose Finish to dismiss the Wizard and reveal the new SmartDataBrowser master, if it was not already visible.
  12. Choose File Save and give the new master a descriptive filename. Note that SmartDataBrowser filenames conventionally begin with b:
  13. The new master object is now available for your use.


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