title: Openargs when form is already open
body: <p>Is it possible to change the Openargs values once the form is already open in Access? It works only the first time the form is open. It fails of the form is open already.</p>
  
  <p>EDIT:</p>
  
  <p>I have this code in the onActivate event of the form</p>
  
  <pre><code>If Not IsNull(Me.OpenArgs) Then
      Me.Recordset.FindFirst ("Id =" &amp; Me.OpenArgs)
      If Me.Recordset.NoMatch Then
          MsgBox "ISOS not found"
      End If
  End If
  </code></pre>
  
  <p><code>Me.OpenArgs</code> contains the result of a search in another form that uses this command <code>DoCmd.OpenForm "&lt;Form_Name&gt;", acNormal, , , , acWindowNormal, Forms!Lookup_Form!Id</code> to open up the main form.</p>