Can anyone help? I'm clearly an amateur and know next to no VBA or SQL. The problem occurs with a main form, with many records, and I have a text box to open another form to view the full details of the current record. It works, and then when I shut down the DB and go back in, I get the below, which then errors when I click, with a box Return without GoSub, and a subsequent macro sing step stop all macros box.

The form design looks like this:
The embedded macro looks like this:
I've got a feeling the answer is super-simple, but I've spent hours trying to sort it out. Can anyone help? Much appreciated
Thanks
Mark

The form design looks like this:
The embedded macro looks like this:
I've got a feeling the answer is super-simple, but I've spent hours trying to sort it out. Can anyone help? Much appreciated
Thanks
Mark
Last edited: