I have a main report (based on query 1) and two subreport(based on query 2 & 3). I want to create a button to run the main report on the below conditions:
- If "a specific field of query 1" is equal to 1 then run the main report using "subreport 1 (based on query 2)"
- If "a specific field of query 1" is equal to 2 then run the main report using "subreport (based on query 3 ) "
How can I define this in access 2010??