title: access: how to detect with VBA whether a query is opened?
body: <p>is it possible to detect whether there is an open query using VBA in access-2007?</p>
  
  <p>i am opening a query like this:</p>
  
  <pre><code>    stDocName = "Meeting_Reasons_Frequency"
    DoCmd.OpenQuery stDocName
  </code></pre>
  
  <p>is it possible to detect whether it is open?</p>