OriginalRequest (original database request)

Top  Previous  Next

 

 

OriginalRequest

BYTE

The OriginalRequest property indicates the database action for which the procedure was originally called. The WindowManager uses this property to make appropriate processing decisions with regard to priming records, saving or abandoning changes, etc. Valid requests are:

InsertRecord

ChangeRecord

DeleteRecord

SelectRecord

Implementation:

The Init method sets the OriginalRequest property to equal the Request property. EQUATEs for the OriginalRequest and Request properties are declared in \LIBSRC\TPLEQU.CLW as follows:

InsertRecord  EQUATE (1)  !Add a record

ChangeRecord  EQUATE (2)  !Change the current record

DeleteRecord  EQUATE (3)  !Delete the current record

SelectRecord  EQUATE (4)  !Select a record

See Also:     Init, Request