Progress
ADM 2 Reference
copyRecord (browser.p)
Initiates creation of a new record starting with a copy of the previously displayed record. SmartDataBrowser version of copyRecord.
Parameters: NoneReturns: Nothing (procedure)Notes:
- Invokes copyRecord in
datavis.p
(RUN SUPER), which in turn will invoke the copyRow function in the associated SmartDataObject to add a new row to the RowObject temp–table.- For a SmartDataBrowser, a new blank row will be inserted below the currently selected one. Values that are copied from copyRecord are not displayed here, they are displayed from the ROW–ENTRY trigger (%DLC%/src/adm2/brsentry.i).
- Sets the BrowseInitted property to FALSE. This property is used in the ROW–ENTRY trigger where the actual display of the copied record takes place to make sure the
“
initialization logic”
for copy is executed once.- Invoked when a Copy operation is initiated, usually by choosing the Copy button in an Update SmartPanel or in a SmartToolbar.
- Customized when copy needs special processing.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |