J
Jeff Boyce
I've searched here and on-line and not found any mention of this.
I'm using Access 2002.
I create Query1 that selects DISTINCT (Unique Values = Yes), returns two
fields, uses date range values in controls on a form as selection
parameters, and uses three values ("Green" or "Red" or "Blue") as another
selection criterion.
I build a Query2 that does something similar.
I try (keyword) to create a UNION query that returns all the rows found in
Q1 and Q2 (e.g.,:
SELECT * FROM Q1
UNION
SELECT * FROM Q2;
but Access folds and I get to send an error report.
(and if I remove the DISTINCT setting, it runs without issue).
Any ideas why the Unique Values would be killing the UNION query?
Thanks
Jeff Boyce
I'm using Access 2002.
I create Query1 that selects DISTINCT (Unique Values = Yes), returns two
fields, uses date range values in controls on a form as selection
parameters, and uses three values ("Green" or "Red" or "Blue") as another
selection criterion.
I build a Query2 that does something similar.
I try (keyword) to create a UNION query that returns all the rows found in
Q1 and Q2 (e.g.,:
SELECT * FROM Q1
UNION
SELECT * FROM Q2;
but Access folds and I get to send an error report.
(and if I remove the DISTINCT setting, it runs without issue).
Any ideas why the Unique Values would be killing the UNION query?
Thanks
Jeff Boyce