I have a simple button on a form which opens another form, where the personID of the initial form matches the personID in another table on the second form. This has been working fine for a long time. I haven't changed it, but I am suddenly getting the error message "return without gosub." I don't know what this means. Thanks.

I re-created the button, and it is working now. Thanks anyway