Progress
ADM 2 Reference
addRecord (browser.p)
SmartDataBrowser version of addRecord. Initiates the creation of a new record. Inserts a new row below the current row, if any. The ROW–ENTRY trigger in the SmartDataBrowser (%DLC%/src/adm2/brsentry.i) displays initial values.
Parameters: NoneReturns: Nothing (procedure)Notes:
- Invokes addRecord version in
datavis.p
(RUN SUPER).- Sets the BrowseInitted property to FALSE. This property is used in the ROW–ENTRY trigger where the actual display of initial values takes place to make sure that the initialization logic for add is executed once.
- Invoked when an Add is initiated (typically by choosing the Add button in an Update SmartPanel, or the Add button or Add menu item in a SmartToolbar).
- Customized when additional processing is needed at the start of an Add operation. When an addRecord override is invoked, the new record has not yet been created, and there is no transaction active.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |