Quote:
Taken from QB's help
GOTO Statement Details
Syntax
GOTO {linelabel | linenumber}
The GOTO statement provides a way to branch unconditionally to another
line (linelabel or linenumber). A GOTO statement can branch only to
another statement at the same level of a program. You cannot use GOTO
to enter or exit a SUB, FUNCTION, or multiline DEF FN function. You
can, however, use GOTO to control program flow within any of these
program structures.
I made up some dummy subs and functions where I used goto, and they worked fine. I don't see why exactly it's not working here. It's acting like error trapping can't be done in a sub/function like this (but if you can't do it like this, how in the world do you do it at all)?