Table Function in Query

  • Thread starter Thread starter Pat Randall
  • Start date Start date
P

Pat Randall

Is it possible to have a table function in a query? For example,
"Select * from getTableName()". I want to use a function to return the
table name instead of hard coding the table name in the SQL statement.
 
Not in the QBE window. You can do this in VBA code and then you run the
query from code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top