Return without gosub error 3 when requerying a combobox

E

EdA

In Access 2007, I have a combo box that I perform a requery on based on the
on change event of another combo box. Suddenly I started receiving the error
message Return without gosub error 3 when I clicked the drop down triggering
the event. When I go to the debugger the code that it is stopped on is the
requery method of the combobox.

For some reason the issue stopped occurring after I edited the vba code
without making any actual changes (just some returns etc.). The error is not
occurring anymore but I would like to know what might have caused this and
why strange things like this happen in Access.
 

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