2950 Return without GoSub

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?
 
I

Ian Mathewson

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top