in my program i use in several places the command: cmd.gotoRecord. It never went wrong. Now i have an error message 2046 every time i call the command. IS THERE A BUG IN THE ACCESS PROGRAM OR AM I MISTAKEN?
Is there a solution for my problem, or an alternative for the command?
part of the code:
For t = 1 To n
DoCmd.GoToRecord , , acGoTo, t 'results in the error 2046
If LokatieKeuze = -1 Then
KeuzeID = KeuzeID & CStr(VolgNrLokatie) & " or volgnrLokatie = "
End If
Next