Hi
I have a form with 2 links to the same report. I would like to pass a value regarding each link and use the query on the report the filter for example:
At form called x i have 2 buttons. each click open report called Y ( i use the on click event and use docmd.openreport .....) . the only different in the query is the where clause.
I thoght of using something like
any idea?
Thanks,
I have a form with 2 links to the same report. I would like to pass a value regarding each link and use the query on the report the filter for example:
At form called x i have 2 buttons. each click open report called Y ( i use the on click event and use docmd.openreport .....) . the only different in the query is the where clause.
I thoght of using something like
Sass:
select *
from tbl
where iif(passingValue =1 , "xxxxx",yyyyy)
Thanks,