question

WillyBorgers-8593 avatar image
0 Votes"
WillyBorgers-8593 asked VikiJi-MSFT edited

about cmd.gotorecord

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
office-vba-dev
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

This is unrelated to Configuration Manager; updating the tag appropriately based on a guess that this is related to Microsoft Access.

0 Votes 0 ·

@WillyBorgers-8593,
Since your issue is more related to commands and codes, but the tag office-itpro focuses on general issues about Office desktop applications, I will remove it and add a related tag.
Thanks for your understanding!

0 Votes 0 ·

0 Answers