Hi,
I have a command button that I use to auto scroll through all the records. It works fine but it stops every 256 records with run time error '2105' You can't go to the specified record. It then points me to this line of code.
If Me.NewRecord Then
DoCmd.GoToRecord acLast
Else
error here----> DoCmd.GoToRecord , , acNext
End If
I'm sure its a simple fix considering it happens at specified intervals, but I'm unsure what to do about it.
Thanks
Tom
I have a command button that I use to auto scroll through all the records. It works fine but it stops every 256 records with run time error '2105' You can't go to the specified record. It then points me to this line of code.
If Me.NewRecord Then
DoCmd.GoToRecord acLast
Else
error here----> DoCmd.GoToRecord , , acNext
End If
I'm sure its a simple fix considering it happens at specified intervals, but I'm unsure what to do about it.
Thanks
Tom