I have a refresh button with this code in it.
Dim key As String
Dim stDocName As String
key = Me!primary
stDocName = "filter"
DoCmd.RunMacro stDocName
DoCmd.GoToRecord acDataForm, "certifications", acGoTo, key
the purpose of it was to put the record number in a variable. refresh the screen and then go to that record. it works fine until i get up to my 11500 record or so then it tells me "you can't go to that specified record. What am I doing wrong?
Dim key As String
Dim stDocName As String
key = Me!primary
stDocName = "filter"
DoCmd.RunMacro stDocName
DoCmd.GoToRecord acDataForm, "certifications", acGoTo, key
the purpose of it was to put the record number in a variable. refresh the screen and then go to that record. it works fine until i get up to my 11500 record or so then it tells me "you can't go to that specified record. What am I doing wrong?