J
Jean-Marie
I have in my access application a form to build report criterion. Among other
criterion is the reporting period which is set thru a txtStartDate and
txtEndDate text boxes. I want my report to return all the records if no date
is entered and to filter records only for the period if start Date and end
date are entered.
I am thinking of passing a parameter like "Between
[Forms]![MyForm]![txtStartDate] AND [Forms]![MyForm]![txtEndDate]" or no
parameter at all if no date was entered. Is there any way to do so via code?
I would use the button that previews the report.
I am running Access 2000 and WinXP.
Many thanks for your help
criterion is the reporting period which is set thru a txtStartDate and
txtEndDate text boxes. I want my report to return all the records if no date
is entered and to filter records only for the period if start Date and end
date are entered.
I am thinking of passing a parameter like "Between
[Forms]![MyForm]![txtStartDate] AND [Forms]![MyForm]![txtEndDate]" or no
parameter at all if no date was entered. Is there any way to do so via code?
I would use the button that previews the report.
I am running Access 2000 and WinXP.
Many thanks for your help