Skip to content
Advertisement

MS Access – Selecting which table to merge

Is there a way to choose which table do I merge using SQL in MS Access through entering parameter value?

Let’s say I have 3 tables: Users, 2021 and 2022.

Any my query is:

I get “Enter Parameter Value” window to filter the code that I want to check, but I would like to get the same to choose other table (2022)

Advertisement

Answer

You can’t have table names as parameters as far as I know, but you could do something like this:

You need to match the query to the existing/new tables; or pre-create them.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement