title: On Click Error: "occurred while Microsoft Access was communicating with the OLE Server or ActiveX Control"
body: <p>Seems like this is has been asked a few times before.</p>
  
  <p>After working on a form for a few weeks, I suddenly get the error when I click on a button:  "The expression On Click you entered as the event property produced the following error:  A problem occurred while Microsoft Access was communicating with the OLE Server or Active X Control."</p>
  
  <p>This also happens with any control's event on the form (e.g. After Update on other text fields)</p>
  
  <p>I tried re-installing Access to no avail.  </p>
  
  <p>Not sure if this is relevant, but I have a subform on the form as well.  I have an "on-click" event that works on the subform, but when the code breaks at the following line (which worked before):</p>
  
  <pre><code>Me.Parent.orderID = Null
  </code></pre>
  
  <p>The error I get is:  "Method 'Parent' of object '_Form_frmOrderQuery' failed
  (frmOrderQuery is the name of the subform)</p>
  
  <p>Anyway, this all worked before until I changed the query for the subform by adding a few more fields.  </p>
  
  <p>Finally:  All of the event handlers (button click, after-update, etc) work on my other forms in the database.</p>
  
  <p>Any help/suggestions would be greatly appreciated.</p>
  
  <p>Thanks,</p>
  
  <p>jeff</p>