C
Claire
I am working on unioning three different queries, and have successfully moved
around and added dummy fields so that they have the same fields in the same
order. The union pulls in everything correctly, with the correct number of
records, except that the Department field has errors in every record.
This field is in each query in the same way, with the same relationship
order, and no errors in the original queries. Department is a lookup field
that can store multiple values. Can union queries not deal with this?
This field allows multiple values because some employees work in more than
one department, but if this is truly the problem I'm considering creating a
department name that contains both, or just assigning those people to only
one department (there aren't many people that work for more than one
department, so it wouldn't be awful).
Here's the SQL:
select * from [hrs per job qry]
union all
select * from [hrs per lead qry]
UNION ALL
select * from [hrs unapplied qry];
And yes, I already know that I shouldn't have spaces in my query names, but
I've decided to live on the wild side, at least for now.
Thanks for any suggestions,
Claire
around and added dummy fields so that they have the same fields in the same
order. The union pulls in everything correctly, with the correct number of
records, except that the Department field has errors in every record.
This field is in each query in the same way, with the same relationship
order, and no errors in the original queries. Department is a lookup field
that can store multiple values. Can union queries not deal with this?
This field allows multiple values because some employees work in more than
one department, but if this is truly the problem I'm considering creating a
department name that contains both, or just assigning those people to only
one department (there aren't many people that work for more than one
department, so it wouldn't be awful).
Here's the SQL:
select * from [hrs per job qry]
union all
select * from [hrs per lead qry]
UNION ALL
select * from [hrs unapplied qry];
And yes, I already know that I shouldn't have spaces in my query names, but
I've decided to live on the wild side, at least for now.
Thanks for any suggestions,
Claire