I have a report in Access 2010 whose control source is a query. When the report is launched, the query asks the user for a date span to filter the results with. The user enters the start date in MM/DD/YYYY format in the box and then the same for the end date. The report filters the dates just fine and displays them as desired.
However, my question surrounds displaying the two dates that the user enters. I've have 2 test boxes - one for the lowest date and one for the highest date of the report. However, every time the report runs, those 2 boxes populate with #Error. I have tried =Max([DateOfExpense]) as well as =Min( [qry_ExpensesDateRange]![DateOfExpense] ) . What am I doing wrong here? Many thanks in advance!
However, my question surrounds displaying the two dates that the user enters. I've have 2 test boxes - one for the lowest date and one for the highest date of the report. However, every time the report runs, those 2 boxes populate with #Error. I have tried =Max([DateOfExpense]) as well as =Min( [qry_ExpensesDateRange]![DateOfExpense] ) . What am I doing wrong here? Many thanks in advance!