Dim cur_row, max_row As Long
cur_row = 0
max_row = Me.Recordset.RecordCount
Me.Recordset.AbsolutePosition = 0
Do
cur_row = cur_row + 1
Me.文本18.SetFocus
Me!文本18 = Str(cur_row)
If cur_row = max_row Then
Exit Do
End If
DoCmd.RunCommand acCmdRecordsGoToNext
Loop