UNION QUERIES

A

AGOKP4

Hi All,

Is it possible to maintain individual group (row) headings after creating a
UNION query. I have manged to merge a group of queries but the headings for
each group was lost

Thanks!!
 
D

Duane Hookom

Each column generated in a union query has only a single name/caption.
I'm not sure why you would want anything different.
 
B

Bob Barrows

AGOKP4 said:
Hi All,

Is it possible to maintain individual group (row) headings after
creating a UNION query. I have manged to merge a group of queries
but the headings for each group was lost
You can use a calculated column in each select:

select 'group 1' as recordgroup,col1,...,coln from table ...
union
select 'group 2', ...
 

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