2950 Return without GoSub

  • Thread starter Thread starter Kirk P.
  • Start date Start date
K

Kirk P.

I've got a command button called cmdNTF that fires a macro called
macImportNTF when clicked. I'm getting a 2950 Return without GoSub error
when I click the command button, however if I just go to the macro and run it
directly from the Navigation Pane, it runs fine. I'm using Access 2007.

Is there any way to avoid this error?
 
Did you write your database in an earlier version of Access?. I recently had
a problem with a database I had converted from Access2000 to Access2003. I
cannot exactly remember the nature of the problem, suffice to say that an
attempt to add an additional field to a complicate query resulted in an
error message which had no bearing whatsoever. I had to convert back to
Access2000, carry out the change and then reconvert back to Access2003.
Everything worked fine.
Just a suggestion.
 
Back
Top