DataControl.MoveTo

From Xojo Documentation

Method

DataControl.MoveTo(Index as Integer)

Supported for all project types and targets.

Moves to the Index row in the RecordSet.

Example

This example moves to the record number entered into a TextField.

DataControl1.MoveTo(val(TextField1.text))