You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Fired before the user inserts a record.

Parameters

ParameterDescription
RecordIndex to the record where the insertion will take place

Remarks

The BeforeDeleteRecords event is fired when the user presses the insert key but before a record is actually inserted. You can prevent the record from being inserted by setting the Cancel property to 1. Also, if the AllowInserts property is set to 0, then this event never fires since the user can never insert records.

The Record parameter is the location of the record to be deleted and the Count parameter is the number of records being deleted. Currently, the user can only delete one record at a time, so this parameter will always be 1.

Using the Cancel property to cancel the event only works if the event was qualified synchronously.

See Also

AfterInsertRecords

  • No labels