Greetings,
I created a blank form ‘frm_CASES_All’ and added a button to open my report ‘rpt_CASES_All ‘ which is based on my query ‘qry_CASES_All’
On the form I used the following for my button to open the report
DoCmd.OpenReport " rpt_CASES_All ", acViewPreview
However, my goal is to use the form so that users can select parameter value from a dropdown, dates from calendar and/or manually enter desired date etc. and click ‘Run Report’ to pass the parameter value to the report.
When users click the ‘Run Report’ button on the form, I would like selection made on the form to reflect on the report
I tried the following in my query, but didn’t give me what I expected.
[Forms]![frm_CASES_All]![cboStatus]
[Forms]![frm_CASES_All]![cboAgency]
[Forms]![frm_CASES_All]![txtCloseDT]
[Forms]![frm_CASES_All]![txtAssignDT]
Any suggestions?
Regards,
I created a blank form ‘frm_CASES_All’ and added a button to open my report ‘rpt_CASES_All ‘ which is based on my query ‘qry_CASES_All’
On the form I used the following for my button to open the report
DoCmd.OpenReport " rpt_CASES_All ", acViewPreview
However, my goal is to use the form so that users can select parameter value from a dropdown, dates from calendar and/or manually enter desired date etc. and click ‘Run Report’ to pass the parameter value to the report.
When users click the ‘Run Report’ button on the form, I would like selection made on the form to reflect on the report
I tried the following in my query, but didn’t give me what I expected.
[Forms]![frm_CASES_All]![cboStatus]
[Forms]![frm_CASES_All]![cboAgency]
[Forms]![frm_CASES_All]![txtCloseDT]
[Forms]![frm_CASES_All]![txtAssignDT]
Any suggestions?
Regards,