Fired after the user creates new records at the end of the table.

Parameters

ParameterDescription
RecordIndex to the location of the first new record
CountThe number of records added
CauseThe name of what caused the event

Remarks

The AfterNewRecords event is fired when the user tabs out of the last data record, automatically creating a new record at the end of the table. By the time this event is fired, the new record has already been created. To check for new records even sooner, capture the BeforeNewRecords event.

The Record parameter indicates the index location of the first new record, and the Count parameter indicates the number of new records added.

The Cause parameter is the name of what caused the new record(s) to be added. It can have one of the following values:

ValueDescription
DownThe user used the down arrow
EnterThe user used the ENTER key
TabThe user used the TAB key
GotFocusThe record was added when the table received focus (See BlankRowManagement)

See Also

BeforeNewRecordsAfterDeleteRecordsAfterUpdateNewRowCountBlankRowManagement

  • No labels