Partager via


BeforeRecordRefresh Event

Occurs immediately before the RecordRefresh method is executed.

PROCEDURE Object.BeforeRecordRefresh
LPARAMETERS nRecords, nRecordOffset

Parameters

  • nRecords
    Specifies the number of consecutive records (in physical order) to refresh.

    This parameter is passed to the RecordRefresh method.

  • nRecordOffset
    Specifies the number of records before the current record where the refresh begins.

    This parameter is passed to the RecordRefresh method.

Remarks

Applies To: CursorAdapter Class

The nRecords and nRecordOffset parameters are passed to the RecordRefresh method. See the RecordRefresh Method for additional information about the nRecords and nRecordOffset parameters.

If BeforeRecordRefresh event fails or doesn’t return a logical true (.T.) value, the RecordRefresh method isn't executed and AfterRecordRefresh event does not occur.

See Also

Reference

CursorAdapter Object Properties, Methods, and Events

AfterRecordRefresh Event