My database consists of tables with employee info, where they work, training modules, & the respective junction tables.
For the training modules, there are employee completion dates for all of them. Naturally, I wrote a query that calculates the due dates for each module as follows (for something that's due every 12 months anyway):
DueDate: DateAdd("yyyy",1,[CompletionDate])
So far, so good. I next wanted to give my users the ability to return values for things like, "I want to see who is going to be due for something this month, or who is going to be due for something in the next six months, etc., or basically whatever date range for due dates they can think of." I thought including the following expression in the criteria line for the DateAdd function would solve this:
Between [Enter the start date (m/d/yy):] And [Enter the end date (m/d/yy):]
This will the prompt the user to enter dates but the results won't match or are totally out of range for what they input. I even tried to write a query from within a query that calculated the DueDate first & then asked the questions for the date range. Does anyone have a non-VBA solution for this? Thank you & happy holidays.
For the training modules, there are employee completion dates for all of them. Naturally, I wrote a query that calculates the due dates for each module as follows (for something that's due every 12 months anyway):
DueDate: DateAdd("yyyy",1,[CompletionDate])
So far, so good. I next wanted to give my users the ability to return values for things like, "I want to see who is going to be due for something this month, or who is going to be due for something in the next six months, etc., or basically whatever date range for due dates they can think of." I thought including the following expression in the criteria line for the DateAdd function would solve this:
Between [Enter the start date (m/d/yy):] And [Enter the end date (m/d/yy):]
This will the prompt the user to enter dates but the results won't match or are totally out of range for what they input. I even tried to write a query from within a query that calculated the DueDate first & then asked the questions for the date range. Does anyone have a non-VBA solution for this? Thank you & happy holidays.