Progress
Application Development
Environment — Getting Started


SmartDataField Module

The SmartDataField gives you a method to customize how particular pieces of data are displayed. You might use the SmartDataField as a calculator to update an integer field, or as an editor with cut, copy, and paste buttons to update a character field. In this module, a SmartDataField displays a date field as a calendar. Choosing a new date in the calendar changes the value in the field.

Choose the SmartDataField button on the SportsPro main window to launch this module:

SmartDataFields work with SmartDataViewers. You create a master for the SmartDataField that you want to use. Then you drop an instance of it onto an appropriate field in a SmartDataViewer to create the necessary links.

Table 2–8 describes the major objects used in the SmartDataField module.

Table 2–8: Components Of the SmartDataField Module
Object Or File Name
Object Type
Function
wordupd.w
SmartWindow
Serves as a container for the other objects in the module.
dorder
SmartDataObject
Queries the Order table to retrieve all order records.
vorder2
SmartDataViewer
Displays the contents of several fields of the selected order record.
sdfcal
SmartDataField
Displays the value of the OrderDate, PromiseDate, and ShipDate fields in the selected record. The SmartDataFields also provide a more convenient method for changing the values than a standard fill-in field.
pnavico
SmartPanel
(navigation)
Controls navigation for the result set from dorder.
pupdsav
SmartPanel
(update)
Controls record update functions on the result set from dorder.

For more information on SmartDataFields, see the chapter on SmartObjects in the Progress ADM 2 Guide .


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