View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Kamran Kamran is offline
external usenet poster
 
Posts: 19
Default getting table name from a text box query

I have succsessfully made a datebase connection using DAO. now I want to get
data from a specific table of database using table name written in combobox.
what will be a quaery for retriving table name from a combobox or textbox.

example:

rs=db.openrecordset("select * from combobox1.text)"
but its not working