CurrentRecordChanged Event Example

The example stores the bookmark of the current record using the CurrentRecord property.

Option Explicit
Option Base 1
Private mRecords(10) As Variant ' Array for bookmarks. 
                                ' We only store last 10.

Private Sub DataRepeater1_CurrentRecordChanged()
    If intC = 10 Then intC = 1
    mRecords(intC) = DataRepeater1.CurrentRecord
    intC = intC + 1
End Sub