User Tools

Site Tools


request_database_request_.htm
Navigation:  ABC Library Reference > WindowManager > WindowManager Properties >====== Request (database request) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page
Request BYTE

blk2blue.jpg

The Request property indicates the database action the procedure is handling. 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 WindowManagerClass does not set the Request property. Your derived Init method should immediately set the Request property. The WindowManagerClass.Init method sets the OriginalRequest property equal to the Request property to preserve its initial value. See the Conceptual Example.

EQUATEs for the OriginalRequest and Request properties are declared in \LIBSRC\TPLEQU.CLW as follows:

InsertRecord  EQUATE (1)  !  Add a record to table

ChangeRecord  EQUATE (2)  !  Change the current record

DeleteRecord  EQUATE (3)  !  Delete the current record

SelectRecord  EQUATE (4)  !  Select the current record

See Also:    

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