Horizontal Listing

S

Stu

Table Data:
ID NAME
1 tom
1 dick
2 harry
3 joe
3 me
3 yourname here
Each ID has 1 to 4 names.
I would like the names to come out horizontally on my report but not in
fixed columns:
1 tom dick
2 harry
3 joe me yourname here

Please advise....is VBA the only solution?
 
J

John W. Vinson

Table Data:
ID NAME
1 tom
1 dick
2 harry
3 joe
3 me
3 yourname here
Each ID has 1 to 4 names.
I would like the names to come out horizontally on my report but not in
fixed columns:
1 tom dick
2 harry
3 joe me yourname here

Please advise....is VBA the only solution?

That, or a really snarky multiple self join query. There's VBA code available
that you can easily adapt:

http://www.mvps.org/access/modules/mdl0004.htm
 
D

De Jager

Stu said:
Table Data:
ID NAME
1 tom
1 dick
2 harry
3 joe
3 me
3 yourname here
Each ID has 1 to 4 names.
I would like the names to come out horizontally on my report but not in
fixed columns:
1 tom dick
2 harry
3 joe me yourname here

Please advise....is VBA the only solution?
 

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