Click or drag to resize

DbNotificationType Enumeration

X#
Enum that described the possible Notification messages that are sent to clients of Workareas

Namespace:  XSharp.RDD.Enums
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax
 enum DbNotificationType
Members
  Member nameValueDescription
FileCreate0This message is sent after a file was created. The Data parameter is the name of the file that was opened.
FileOpen1This message is sent after a file was opened. The Data parameter is the name of the file that was opened.
FileClose2This message is sent after a file is closed. The Data parameter is the name of the file that was closed.
IndexCreate3This message is sent after an index was created. The Data parameter is the name of the file that was opened.
IndexDelete4This message is sent after an index was deleted. The Data parameter is the name of the file that was opened.
IndexOpen5This message is sent after an index was opened. The Data parameter is the name of the file that was opened.
IndexClose6This message is sent after an index was closed. The Data parameter is the name of the file that was closed.
BeforeBulkOperation7This message is sent before a bulk operation is started. The Data parameter is a description of the operation.
AfterBulkOperation8This message is sent after a bulk operation was completed. The Data parameter is a description of the operation.
OrderChanged9This message is sent after an order was changed. The Data parameter is the name of the new order.
BeforeFieldUpdate10This message is sent before a field is updated The Data parameter is the fieldname of the field that was updated.
AfterFieldUpdate11This message is sent after a field was updated The Data parameter is the fieldname of the field that was updated.
BeforeMove12This message is sent before the record pointer is moved. The Data parameter indicates the reason for the move
AfterMove13This message is sent after the record pointer was moved. The Data parameter indicates the reason for the move
RecordAppended14This message is sent after a new record was appended. The Data parameter is the record number of the record.
AfterRecordDeleted15This message is sent after a record was deleted. The Data parameter is the record number of the record.
RecordDeleted15This message is sent after a record was deleted. The Data parameter is the record number of the record.
AfterRecordRecalled16This message is sent after a record was recalled. The Data parameter is the record number of the record.
RecordRecalled16This message is sent after a record was recalled. The Data parameter is the record number of the record.
RecordLocked17This message is sent after a record was locked. The Data parameter is the record number of the record.
RecordUnLocked18This message is sent after a record was unlocked. The Data parameter is the record number of the record.
FileCommit19This message is sent after a Workarea was commited. The Data parameter is the file name of area.
BeforeRecordDeleted20This message is sent before a record is deleted. The Data parameter is the record number of the record.
BeforeRecordRecalled21This message is sent before a record is recalled. The Data parameter is the record number of the record.
OperationFailed99This message is sent after an operation failed. The Data parameter is the description of the operation.
Remarks
Clients that want to subscribe to these notifications can register themselves by calling DbRegisterClient() and must implement IDbNotify().
See Also