Ali Edwards
Registered User.
- Local time
- Today, 17:39
- Joined
- Apr 19, 2001
- Messages
- 68
Hi!
Can anyone tell me why I get the message "Cannot go to the next record. You may be at the end of the recordset"? I am trying to stop the procedure when it gets to the last record.....
Many thanks all..
Private Sub Cycle_Records_Click()
Dim stdocname As String
Dim Rst As Recordset
Set Rst = Me.RecordsetClone
Do Until Rst.EOF = True
DoCmd.GoToRecord , , acNext
Loop
End Sub
Can anyone tell me why I get the message "Cannot go to the next record. You may be at the end of the recordset"? I am trying to stop the procedure when it gets to the last record.....
Many thanks all..
Private Sub Cycle_Records_Click()
Dim stdocname As String
Dim Rst As Recordset
Set Rst = Me.RecordsetClone
Do Until Rst.EOF = True
DoCmd.GoToRecord , , acNext
Loop
End Sub