Why do I get a
"Return without GoSub"
error when using subforms in Access 2007?
A Return statement must have a corresponding GoSub statement. This error has the following cause and solution: You have a Return statement that can't be matched with a GoSub statement. Make sure your GoSub statement wasn't inadvertently deleted.
This can occur when there is a Form_Load()
event in the subform, but not the main form. Try adding an empty Form_Load()
event to the main form.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With