InsertAction (execute insert record activity)

Top  Previous  Next


InsertAction, VIRTUAL

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


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


Return Data Type:     BYTE




WindowManager.TakeCompleted PROCEDURE



 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()



 RETURN Level:Benign


See Also:     TakeCompleted , Request , ChangeRecord , DeleteRecord