title: MS Access 2007 Form OnLoad Event Not Triggering
body: <p>Two forms in an A2007 app have stopped triggering their <strong>OnLoad</strong> events after the OnOpen event. The events have been working for years, and I can't determine why the OnLoad event isn't running now.</p>
  
  <p>Instead, clicking on <strong>any</strong> control on the forms triggers the OnLoad event - including the window's Close button.</p>
  
  <p>The forms are unbound, with subforms that are filtered by a common function called in the OnLoad event. There are many other forms like this, which are still working OK.</p>
  
  <p>I have checked that <strong>the event is still linked to the code</strong> by clicking on the ellipsis in Properties next to the event ([Event Procedure]), which takes me correctly to the code.</p>
  
  <p>Have decompiled/recompiled. Checked References. Imported to a new db.</p>
  
  <p>Tried adding a RecordSource (SELECT anyField FROM anyTable LIMIT 1), which didn't work, and then I found a <strong>work-around</strong>, by adding Me.RecordSource=Me.RecordSource as the last line in the OnOpen event - which <em>does</em> then trigger the OnLoad event.</p>
  
  <p>This is the first time in almost 20 yrs of Access development that I've come across this, and as I get very nervous whenever Access 'misbehaves', I'd really like to find the problem. Any suggestions would be most welcome!</p>