Reposition Event

       

Occurs after a record becomes the current record.

Syntax

Private Sub object.Reposition ([index As Integer])

The Reposition event syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
index Identifies the control if it's in a control array.

Remarks

When a Data control is loaded, the first record in the Recordset object becomes the current record, causing the Reposition event. Whenever a user clicks any button on the Data control, moving from record to record, or if you use one of the Move methods, such as MoveNext, the Find methods, such as FindFirst, or any other property or method that changes the current record, the Reposition event occurs after each record becomes current.

In contrast, the Validate event occurs before moving to a different record.

You can use this event to perform calculations based on data in the current record or to change the form in response to data in the current record.