I have a union query where I am combining several queries into one. They all are searching by the same date. I have the statement "WHERE benefit_Query.Date=[Enter Date]" and every other query in the union query is set to be equal to "Benefit_Query.Date", but when the query is run, it prompts for the date for every individual query.
I checked and the individual queries are not set to prompt. What I need to know, is there a way to set a variable at the begining that can be used throughout the union query for the date. In otherwords, when the union query is run, it will prompt for the date, and all other queries in the union will be equal to that date.
Thank you.
I checked and the individual queries are not set to prompt. What I need to know, is there a way to set a variable at the begining that can be used throughout the union query for the date. In otherwords, when the union query is run, it will prompt for the date, and all other queries in the union will be equal to that date.
Thank you.