I have a form that is used to specify criteria in a query, namely the date range for a report (much like the Sales By Year Dialog form in NorthWind). There are two text boxes: StartDate and EndDate.
Currently, I have to enter both details manually. I want the report to always list one week at a time, from Monday to Saturday. Is there any way of making it so that the value of EndDate is automatically 5 days ahead of StartDate?
Many thanks in advance to anyone that can help!
*EDIT* forgot to mention - to identify it as a date, I used a format of dd-mmm-yyyy.
Currently, I have to enter both details manually. I want the report to always list one week at a time, from Monday to Saturday. Is there any way of making it so that the value of EndDate is automatically 5 days ahead of StartDate?
Many thanks in advance to anyone that can help!
*EDIT* forgot to mention - to identify it as a date, I used a format of dd-mmm-yyyy.