Progress
ADM 2 Reference


addRecord (datavis.p)

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.

Parameters: None

Returns: Nothing (procedure)

Notes:

Examples:

PROCEDURE addRecord: 
/* 
** Code placed here will execute PRIOR to standard behavior. 
*/ 
  RUN SUPER.
/* 
** Code placed here will execute AFTER standard behavior. 
*/ 
  iRecTotal = iRecTotal + 1. 
  DISPLAY iRecTotal WITH FRAME {&FRAME-NAME}. 
END PROCEDURE. 


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