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
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.