Hello,
I am stuck with a problem here.
I am building a database and I have several filter queries.
In most of those queries I do a "Where" filter with always the same criteria, being something like:
I may want to change this criteria later on.
Is there any way to assign a constant value for this criteria for the whole database so that, if I change it, I do not need to change several queries but only one line of code only?
I have been looking on the internet for a solution and tryed different things on access/VBA but couldn't come up with something that works.
If you need more info on my request please let me know and thank you very much for your help.
Best regards,
G.
I am stuck with a problem here.
I am building a database and I have several filter queries.
In most of those queries I do a "Where" filter with always the same criteria, being something like:
Code:
<>"AAAA" And <>"BBBB"
Is there any way to assign a constant value for this criteria for the whole database so that, if I change it, I do not need to change several queries but only one line of code only?
I have been looking on the internet for a solution and tryed different things on access/VBA but couldn't come up with something that works.
If you need more info on my request please let me know and thank you very much for your help.
Best regards,
G.
Comment