G
Guest
I created a form that links to a report that uses the statement below as a
record source.
Example:
Select value_name,value_yr,value3
From Test
Where value name = forms!testform!nametxt AND value_yr=forms!testform!yrtxt
UNION
Select value_name,value_yr,value3
From Test
Where value_yr=forms!testform!yrtxt
How can i get the result of the first select statement without getting the
result of the second one?
record source.
Example:
Select value_name,value_yr,value3
From Test
Where value name = forms!testform!nametxt AND value_yr=forms!testform!yrtxt
UNION
Select value_name,value_yr,value3
From Test
Where value_yr=forms!testform!yrtxt
How can i get the result of the first select statement without getting the
result of the second one?