"Return without GoSub" when using subforms in Access

ms-access, ms-access-2007, vba

Solution

This can occur when there is a `Form_Load()` event in the subform, but not the main form. Try adding an `empty Form_Load()` event to the main form.

Problem

Why do I get a "Return without GoSub" error when using subforms in Access 2007?

Original source

Related problems