Release 10.1A: OpenEdge Development:
ADM Reference

> ## copyRecord

> Procedure that initiates creation of a new record starting with a copy of the previously displayed record. SmartDataBrowser version of copyRecord.

> Location: browser.p

> Parameters: None

> Notes:

> - Invokes copyRecord in `datavis.p` (RUN SUPER), which in turn invokes the copyRow function in the associated SmartDataObject to add a new row to the RowObject temp–table.

> - For a SmartDataBrowser, a new blank row is inserted below the currently selected one. Values that are copied from copyRecord are not displayed here, they are displayed from the ROW–ENTRY trigger (`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 © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095