title: vb6 query: how to open table, that declared in textbox
body: <pre><code>private Command1_Click()
  
          Dim a as string
  
          a = text1.text
          OpenQuery "SELECT * FROM a WHERE Chair;"
  
          txtChair.Text = myRs.Fields(0).Value
  
          myRs.MoveNext
      loop 
  
  end sub
  </code></pre>