S
Stephanie
Hi. I've had great luck with creating a query that asks for user input (say,
letting the user select the state), and then having reports run based on that
user input. But now I have a more complicated situation and I'm wondering if
I can do something similar.
I have to ask a query question to lead up to my report question: I am using
a union query. Which seems to be perhaps one of my issues. The union query
is fine until I let the user select an input. I have a field that is
"unioned" to contain both -1 and 0 values (for yes/no, but based on two
different fields from two different queries). My user input looks like this:
((Organizations.OrganizationState)=[Find]![LabelsParam]![FindLabel])
(FindLabel is my State selection). The union query itself only asks me to
select from FindLabel once, however my query brings back essentially
duplicate rows (one for 0, one for no-1) of each record, as I have had to
place the WHERE criteria in both sections of the union query.
Is there a way to let the user select the State in my union query without
the duplication issue?
letting the user select the state), and then having reports run based on that
user input. But now I have a more complicated situation and I'm wondering if
I can do something similar.
I have to ask a query question to lead up to my report question: I am using
a union query. Which seems to be perhaps one of my issues. The union query
is fine until I let the user select an input. I have a field that is
"unioned" to contain both -1 and 0 values (for yes/no, but based on two
different fields from two different queries). My user input looks like this:
((Organizations.OrganizationState)=[Find]![LabelsParam]![FindLabel])
(FindLabel is my State selection). The union query itself only asks me to
select from FindLabel once, however my query brings back essentially
duplicate rows (one for 0, one for no-1) of each record, as I have had to
place the WHERE criteria in both sections of the union query.
Is there a way to let the user select the State in my union query without
the duplication issue?