Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vertical to horizontal 1

Status
Not open for further replies.

damipera

Technical User
Dec 1, 2005
134
GB
Hi guys,

I have a table that looks like this:
Code:
fld1    fld2

111     apple
111     banana
111     grapes
222     melon
333     grapes
333     orange
.
.
.

and I want a recordset that looks like this:

Code:
111  apple, banana, grapes
222  melon
333  grapes, orange
.
.
.

Can you please give me some ideas of how I could achieve this?

Thanks.
 
hi gmmastros, that's exactly what i needed!

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top