I don't know how to explain this in simple terms - but I will try...
I run a report monthly based on data received in Excel.
There are several queries, all of which do the same thing every month, but I need to change a field to recognise the newest month.
Is there any way, either in queries, or with code (which is not my strong point) where I can tell the database to append to a "variable" - for example. Rather than telling the query to append [days] to [Nov04] (and then change Nov to Dec the next month) - I want to be able to enter the month in a parameter - so when you run the query, it asks you for the month (which is the field to append to).
NKA
The answer's always easy - if you know it! ;-)
I run a report monthly based on data received in Excel.
There are several queries, all of which do the same thing every month, but I need to change a field to recognise the newest month.
Is there any way, either in queries, or with code (which is not my strong point) where I can tell the database to append to a "variable" - for example. Rather than telling the query to append [days] to [Nov04] (and then change Nov to Dec the next month) - I want to be able to enter the month in a parameter - so when you run the query, it asks you for the month (which is the field to append to).
NKA
The answer's always easy - if you know it! ;-)