I have a report based on a query.
On the query I have the following:
On the report I have an unbound textbox with the control =
Everthing works great when I put in values for the start and end dates. When I press enter (for all dates) the report shows nothing. I would like the report to show the defaults for the query. (i.e 1/1/1900 to 12/31/3000) or the text "All Dates" to "All Dates" would be prefered.
Many thanks in advance for any help!
Cheers
On the query I have the following:
Code:
Between Nz([Enter Start or press Enter for all Dates],#1/1/1900#) And Nz([Enter End or press Enter for all Dates],#12/31/3000#)
On the report I have an unbound textbox with the control =
Code:
="Reporting Dates from " & [Enter Start or press Enter for all Dates] & " to " & [Enter End or press Enter for all Dates]
Everthing works great when I put in values for the start and end dates. When I press enter (for all dates) the report shows nothing. I would like the report to show the defaults for the query. (i.e 1/1/1900 to 12/31/3000) or the text "All Dates" to "All Dates" would be prefered.
Many thanks in advance for any help!
Cheers