title: Open Access Form with Filter VBA
body: <p>I'm having trouble opening a form using a filter.  The code that I am trying to run is this:</p>
  
  <pre><code>DoCmd.OpenForm "MyForm", , "[ID] = " &amp; Me.MyListBox.Column(0), , acFormEdit, acDialog
  </code></pre>
  
  <p>When I run this line, it opens the form, but does not apply the filter.</p>
  
  <p>The FilterOnLoad property is set to True, and I have verified that it is true in the On Load event.</p>
  
  <p>While in the Form_Load event, Me.FilterOn = False and Me.Filter = "".</p>
  
  <p>What happened to the filter?  What am I doing wrong?  I've tried setting the Me.FilterOn property to True via VBA and then saving the form, but when I open the form again, it is reset to False.</p>
  
  <p>If I put the filter in using VBA and then set the Me.FilterOn property to True, the form correctly filters.  I have verified that the correct value is there for "Me.MyListBox.Column(0)"</p>