stefanocps
Registered User.
- Local time
- Today, 10:51
- Joined
- Jan 31, 2019
- Messages
- 175
Ok butnthe way you need writing code skill, right?may be not the best for meThere are many ways to do this. I prefer not to put the control parameter references in the query. I find it limiting and hard to debug. Instead I build the report with no criteria or control references. I then use the Docmd.Openreport and pass in the where condition. This way I can use one report and have a form that can call it many ways. With one report I could filter by
date range
Seller ID
Agent ID
Sale Amount
....
Or any combination that I can pass in.
I can also set the where condition at report level so i don t need to create a query copy for each report, is it?