r/MicrosoftAccess • u/nickcasa • Apr 19 '20
use a variable as an input
hello all, each monday i run 6 separate queries using a date from the previous week, so on 4-20, i'll have to modify 6 queries with this input of >=20200413 i'd like to put this value in a table and just modify all queries to pull this value and run them. any way i can do this? i tried creating a blank table with this value and reference in my date field in my queries and it didn't work. i'm sure im doing something wrong though ty
1
Apr 20 '20
I have much better ways of accomplishing what you want my friend; however giving you the direct answer would violate the forum's rules. I'm a bit tipsy right now, but if you send me a private message with what you're trying to accomplish exactly, I can look at it in the morning and give you a better answer.
1
u/[deleted] Apr 20 '20
Try var = input('message') and then put the variable 'var' in the query string