I am writing an SQL query in Access to select information from one of a number of different tables. What I would like to do is have the query run and ask the user to input the month/year of the table (Which is the name of the tables stored) For example, run the query and a box pops up saying "Enter Month/Year", when it is typed it pulls the information from the appropriate table.
However, When I wrote the SQL language thusly (A small snippet)
Select InfoA, InfoB, InfoC
from [Enter Month/Year]
It didn't work because, obviously, it is looking for the table named [Enter Month/Year]. Is there anyway to make this work?
However, When I wrote the SQL language thusly (A small snippet)
Select InfoA, InfoB, InfoC
from [Enter Month/Year]
It didn't work because, obviously, it is looking for the table named [Enter Month/Year]. Is there anyway to make this work?