L
Logo
I have a report that asks the user for beginning and ending dates. How can I
get these dates to print on my report? TIA
get these dates to print on my report? TIA
Duane Hookom said:IMO, these values should always be entered by the user into controls on a
form. This is a much better user interface since it allows defaults and lots
of other functionality. You can then add a text box to your report with a
control source like:
="Between " & Forms!frmRptDates!txtStartDate & " and " &
Forms!frmRptDates!txtEndDate
If you choose to leave your interface as is, you can simply set a control
source to something like:
="Between " & [Enter Begin Date] & " and " & [Enter End Date]
--
Duane Hookom
Microsoft Access MVP
Logo said:I have a report that asks the user for beginning and ending dates. How can I
get these dates to print on my report? TIA
Logo said:So I should have my users open reports through the form then?
--
Logo
Duane Hookom said:IMO, these values should always be entered by the user into controls on a
form. This is a much better user interface since it allows defaults and lots
of other functionality. You can then add a text box to your report with a
control source like:
="Between " & Forms!frmRptDates!txtStartDate & " and " &
Forms!frmRptDates!txtEndDate
If you choose to leave your interface as is, you can simply set a control
source to something like:
="Between " & [Enter Begin Date] & " and " & [Enter End Date]
--
Duane Hookom
Microsoft Access MVP
Logo said:I have a report that asks the user for beginning and ending dates. How can I
get these dates to print on my report? TIA
Duane Hookom said:Yes. I typically have a form with controls to allow selecting various
criteria. A command button is available to open the report.
--
Duane Hookom
Microsoft Access MVP
Logo said:So I should have my users open reports through the form then?
--
Logo
Duane Hookom said:IMO, these values should always be entered by the user into controls on a
form. This is a much better user interface since it allows defaults and lots
of other functionality. You can then add a text box to your report with a
control source like:
="Between " & Forms!frmRptDates!txtStartDate & " and " &
Forms!frmRptDates!txtEndDate
If you choose to leave your interface as is, you can simply set a control
source to something like:
="Between " & [Enter Begin Date] & " and " & [Enter End Date]
--
Duane Hookom
Microsoft Access MVP
:
I have a report that asks the user for beginning and ending dates. How can I
get these dates to print on my report? TIA
So I should have my users open reports through the form then?