A
AccessARS
In the query in questions there is a field where I need to place a
"In(Select...)" statement in the criteria but the catch is that the "Select
statement within the In() string would have to reference one of two queries
within the same database based on the value on an open form as indicated in
the IFF statement within...
In (IIf(([Forms]![frm_Period]![WDPoint]="Domestic")=True,"SELECT
qry_Chart2.Dash FROM qry_Chart2","SELECT qry_Chart2_Int.Dash FROM
qry_Chart2_Int"))
Unfortunately I do not seem to get any results even though the query or the
string does not error out?
I know my In(select) statement is good because it works without the IIF
statement ...but this is my 1st time doing something like this and I would
appreciate your feedback.
Thanks!
"In(Select...)" statement in the criteria but the catch is that the "Select
statement within the In() string would have to reference one of two queries
within the same database based on the value on an open form as indicated in
the IFF statement within...
In (IIf(([Forms]![frm_Period]![WDPoint]="Domestic")=True,"SELECT
qry_Chart2.Dash FROM qry_Chart2","SELECT qry_Chart2_Int.Dash FROM
qry_Chart2_Int"))
Unfortunately I do not seem to get any results even though the query or the
string does not error out?
I know my In(select) statement is good because it works without the IIF
statement ...but this is my 1st time doing something like this and I would
appreciate your feedback.
Thanks!