Release 10.1A: OpenEdge Development:
ADM Reference

> ## addRecord

> Procedure that initiates the creation of a new record. First verifies that there is no update pending. If there is an update pending, notifies the user that current values must be saved or cancelled before the Add operation takes place, then it displays initial values.

> Location: datavis.p

> Parameters: None

> Notes:

> - Publishes updateState Update to signal related objects that the update is in progress.

> - Sets the NewRecord property to Add.

> - Invokes enableFields. The addRow method in the associated SmartDataObject is invoked at a lower level (from addRecord in `viewer.p` for a SmartDataViewer or in browse triggers for a SmartDataBrowser).

> - Is 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).

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095