B
Bunky
Good Day to All!
I have a form with a combo box on it that is sending dates to a query. The
Combo Box has a source of Distinct dates from a table. The idea is when the
user selects the 1st (most current date) it will use this date throughout all
the queries in the series for the report. This is working fine. Now, I want
to expand this like this: I want the 2nd and the 3rd and the 4th most current
dates as well. I cannot use DateAdd because the dates a not a set number of
days apart. How can I reference the dates not selected? I have limited the
number of dates shown to 4 so regardless what date is chosen, I want the date
chosen and the 3 that preceeds it.
My code to select the current date from the form is
[forms]![UGPRform]![Combo1]
Thank you in advance for your assistance.
I have a form with a combo box on it that is sending dates to a query. The
Combo Box has a source of Distinct dates from a table. The idea is when the
user selects the 1st (most current date) it will use this date throughout all
the queries in the series for the report. This is working fine. Now, I want
to expand this like this: I want the 2nd and the 3rd and the 4th most current
dates as well. I cannot use DateAdd because the dates a not a set number of
days apart. How can I reference the dates not selected? I have limited the
number of dates shown to 4 so regardless what date is chosen, I want the date
chosen and the 3 that preceeds it.
My code to select the current date from the form is
[forms]![UGPRform]![Combo1]
Thank you in advance for your assistance.