User Tools

Site Tools


insertrecord_execute_insert_record_activity_.htm
Navigation:  ABC Library Reference > WindowManager > WindowManager Methods >====== InsertAction (execute insert record activity) ====== Previous pageReturn to chapter overviewNext page

InsertAction, VIRTUAL

blk2blue.jpg

The InsertAction method performs the necessary database insert operations when called. InsertAction returns Level:Benign to indicate successful a insert operation.

Implementation:

The TakeCompleted method calls the InsertAction method when Request is set to InsertRecord.

Return Data Type:     BYTE

Example:

WindowManager.TakeCompleted PROCEDURE

 CODE

 SELF.SaveHistory()

 CASE SELF.Request

 OF InsertRecord

   RETURN SELF.InsertAction()

 OF ChangeRecord

   RETURN SELF.ChangeAction()

 OF DeleteRecord

   RETURN SELF.DeleteAction()

 OF SaveRecord

    CASE SELF.OriginalRequest

    OF InsertRecord

       RETURN SELF.SaveOnInsertAction()

    OF ChangeRecord

       RETURN SELF.SaveOnChangeAction()

    END

 END

 RETURN Level:Benign

See Also:     TakeCompleted , Request , ChangeRecord , DeleteRecord

insertrecord_execute_insert_record_activity_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1