Reposition Event (Remote Data)

       

Occurs after a row becomes the current row.

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 RemoteData control is loaded, the first row in the rdoResultset object becomes the current row, causing the Reposition event to fire. The Reposition event fires after each row becomes current:

Whenever a user clicks any button on the RemoteData control to move from row to row.

In contrast, the Validate event occurs before moving to a different row. The RowCurrencyChange event associated with the rdoResultset also fires when the current result set row changes.

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