union qry problem

C

christine t.

I get an unmatched column error returned on my union qry. The 2 queries in
the union qry have the same field headings and data type in the same order.
One query has 2007 data and the other 2008 data. Any solution to try would
be great - thx.
 
J

John Spencer

Post the SQL of your query. It is impossible to trouble-shoot what we
cannot see.

'====================================================
John Spencer
Access MVP 2002-2005, 2007-2008
The Hilltop Institute
University of Maryland Baltimore County
'====================================================
 
D

Duane Hookom

If you create objects with spaces in the names, you gotta pay the [] price.
Try:
Select * from [2007 qry]
Union
Select * from [2008 qry];
 
C

christine t.

thx for the advice, I'll give it a try.
--
c.t.


Duane Hookom said:
If you create objects with spaces in the names, you gotta pay the [] price.
Try:
Select * from [2007 qry]
Union
Select * from [2008 qry];

--
Duane Hookom
Microsoft Access MVP


christine t. said:
here's the SQL:

Select * from 2007 qry
Union
Select * from 2008 qry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top