skip to main content
OpenEdge Development: AppBuilder
Data-Display/Capture Objects : Basic data viewers
Basic data viewers
The basic data viewer object, or DB-Fields as it is also called, corresponds in purpose to the SmartDataViewer object. While browsers present fields from many records at once, in a row/column tabular format, the viewer objects display fields from a single record using fill-in widgets, one fill-in per field. The viewer object can display any of the standard data types that can be represented by ASCII text.
Unlike a SmartDataViewer, the basic viewer object manages its own data stream, communicating with the data source on its own behalf rather than tapping into the data stream supplied by a modular data pump such as the SDO.
Although you can freely place a basic data viewer object in a smart workspace, for example, a SmartWindow, doing so will not enable it to take advantage of SmartLinks or participate in ADM paging.
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:
1. Click DB-Fields in the Object Palette.
2. Click on a bare spot in your workspace to begin the placement process. The Table Selector dialog appears:
3. Select a table or tables from which to select fields, then click OK. The Multi-Field Selector dialog box appears:
4. Select the database fields to add to your workspace, then click OK. The fields appear in your workspace.
Configuring a basic viewer instance
Besides rearrangement, you can make a number of other changes to the appearance and behavior of your basic viewer object, if the default settings do not meet your needs. You make such changes via the property sheets of the individual fill-ins.
See the “Configuring a fill-in instance” section for more information.