I get the following error when I bring up my Access database. What does this error mean? How do I correct it?
The expression On Load you entered as the event property setting produced the following error: Return without GoSub.
I get the following error when I bring up my Access database. What does this error mean? How do I correct it?
The expression On Load you entered as the event property setting produced the following error: Return without GoSub.
According to one discussion I found:
"Gosub is a branching command that isn't used in VBA. It's a leftover from procedural programming languages. It forms part of the Gosub...Return construct, so you need to search your code for the word "Return", then get rid of it."
Hold down shift key when you open the db so code won't execute. Go to the VBA editor and fix the offending code.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.