R
Rajat
Hi,
I have a report with recordsrc qry4.
qry4 calls qry3 which calls qry2 which finally calls qry1.
qry1 has a parameter called [Report Client], and I am
prompted for its value and everything works fine.
Now I would like to run the report from a form, such that
the report takes the parameter from the current selection
on a lstbox on the form.
The criteria in qry1 is:
[Report Client] or "any"
I tried making it:
[Forms]![frmReportClient]![lstReportClient] or "any"
but instead of just taking the value from the form, it
again prompts the user for it.
I even renamed the parameter to:
[Forms]![frmReportClient]![lstReportClient]
but with no luck!
Any ideas?
Thanks!
Regards,
Rajat
I have a report with recordsrc qry4.
qry4 calls qry3 which calls qry2 which finally calls qry1.
qry1 has a parameter called [Report Client], and I am
prompted for its value and everything works fine.
Now I would like to run the report from a form, such that
the report takes the parameter from the current selection
on a lstbox on the form.
The criteria in qry1 is:
[Report Client] or "any"
I tried making it:
[Forms]![frmReportClient]![lstReportClient] or "any"
but instead of just taking the value from the form, it
again prompts the user for it.
I even renamed the parameter to:
[Forms]![frmReportClient]![lstReportClient]
but with no luck!
Any ideas?
Thanks!
Regards,
Rajat