Progress
ADM 2 Guide
SmartDataBrowsers
You build a SmartDataBrowser against a SmartDataObject, selecting fields from that SmartDataObject. The SmartDataBrowser browses the SmartDataObject query at run time. In the same way as a SmartDataViewer, the SmartDataBrowser does not actually have any database records at run time; it is browsing a query defined elsewhere. Also, as with the SmartDataViewer, updates to a SmartDataBrowser simply cause modified values to be passed to the SmartDataObject for updating. This method of building a SmartDataBrowser maintains independence of the UI from the database, since the SmartDataBrowser browses a temp–table query maintained in another object.
Recall that there are two types of SmartDataBrowsers: dynamic and static. The dynamic SmartDataBrowser is the more versatile of the two; it can be configured to display and update the query of any SmartDataObject, unlike a static SmartDataBrowser, which is specific to a particular SmartDataObject. The dynamic SmartDataBrowser displays and updates records from a set of fields that are determined at run time (rather than at design time, as is the case for the static SmartDataBrowser) and takes its query at run time from the SmartDataObject to which it is linked.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |