Progress
ADM 2 Guide
SmartDataObject Query and Update Operations
SmartDataViewers and SmartDataBrowsers provide the display and browse capabilities that make the data retrieved by a database query accessible to an application user. However, these SmartObjects never directly access a database. The query and update operations that do access the database are performed, instead, by a SmartDataObject to which the SmartDataViewer or SmartDataBrowser is linked. The SmartDataObject manages query and update operations using two automatically created Progress temp–tables called RowObject and RowObjUpd, which serve as data repositories within the application. Figure 7–1 illustrates data flow among a database, a SmartDataObject and its temp–tables, and a client object of the SmartDataObject, in this case a SmartDataViewer.
Figure 7–1: The SmartDataObject and Its Temp–tables
![]()
The following sections discuss how the SmartDataObject uses the RowObject and RowObjUpd temp–tables in query and update operations. A subsequent section describes some special fields in the RowObject and RowObjUpd temp–tables.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |