J
JessiRight77
I want to reference a date range on a report by passing the dates that
I type in my search criteria form to my report. The date range does
not print, however, but displays an #Error message instead.
Am I using the wrong syntax to reference the text boxes? Here is
what I have on my query and report:
Query Criteria:
Between NZ([Forms]![frmQryInventory]![txtStartDate],#1/1/1750#) And
NZ([Forms]![frmQryInventory]![txtEndingDate],#1/1/9999#)
Reference on Report:
="(" & [Forms]![frmQryInventory]![txtStartDate] & " - " &
[Forms]![frmQryInventory]![txt EndingDate] & ")"
Thanks!!
Jessi
I type in my search criteria form to my report. The date range does
not print, however, but displays an #Error message instead.
Am I using the wrong syntax to reference the text boxes? Here is
what I have on my query and report:
Query Criteria:
Between NZ([Forms]![frmQryInventory]![txtStartDate],#1/1/1750#) And
NZ([Forms]![frmQryInventory]![txtEndingDate],#1/1/9999#)
Reference on Report:
="(" & [Forms]![frmQryInventory]![txtStartDate] & " - " &
[Forms]![frmQryInventory]![txt EndingDate] & ")"
Thanks!!
Jessi