I'm a novice Access user and have a simple question but can't seem to find the answer.
I have tables imported and named by the user on import e.g. January.
I then need to run a query on the table that the user selects (same query and each table is in the same format so the fields are known).
I have a combo box on the form for the user to select the table on which to perform the query. It's just the table name which is the variable i need to insert into my query.
My SQL for this looks like:
Expand|Select|Wrap|Line Numbers
- SELECT field1, field2
- FROM Forms!Form1!Combo1
Syntax error in FROM clause
or
Cannot find the input table / query 'Forms!Form1!Combo1' make sure it exists.
I'm sure someone will know the answer...
Thank you