Return without GoSub error (1 Viewer)

majordoc

New member
Local time
Today, 21:05
Joined
Sep 29, 2020
Messages
24
Hi

I have a macro based query that was working fine until recently but now has started returning the error "Return without GoSub".
It is a toggle button on a form that OnClick uses following macro. I don't recall making any changes that should cause this error.
Any help gratefully appreciated.

Regards
E



1601973713191.png
 

Uncle Gizmo

Nifty Access Guy
Staff member
Local time
Today, 21:05
Joined
Jul 9, 2003
Messages
16,280
Please create a new Microsoft Access database. Include the form which is causing you problems, and any tables required to run that form. Add some dummy data. If you need a source of dummy data, then you might find downloading the Northwind example database from Microsoft a useful source. See here for more information on how to download it:-

Setup the Northwind Sample dB​

 
Last edited:

majordoc

New member
Local time
Today, 21:05
Joined
Sep 29, 2020
Messages
24
Hi there

Many thanks. Yes I did this and works fine. Any ideas how to fix the original database though?
 

Uncle Gizmo

Nifty Access Guy
Staff member
Local time
Today, 21:05
Joined
Jul 9, 2003
Messages
16,280
Post your sample dB here and I'm sure someone will have a look.

One problem though, if your sample works OK, then what is there to fix?
 
Last edited:

Users who are viewing this thread

Top Bottom