Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Reposition Event (Remote Data)
See Also Example Applies To
Occurs after a row becomes the current row.
Syntax
Private Subobject**.Reposition ([indexAs 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.
You use one of the Move methods, such as MoveNext.
You use any other property or method that changes the current 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.