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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Merge data from more than 1 row

Status
Not open for further replies.

qwerty70

Technical User
Dec 13, 2005
73
GB
Dear All,

In my Query1, I have the following data:

IsoLbl Comp2 Stencil
PBBCA-PR-16223.01 ELBOW GK14
PBBCA-PR-16223.01 ELBOW GK24
PBBCA-PR-16223.01 ELBOW GK50
PBBCA-PR-16223.01 ELBOW GK55
PBBCA-PR-16223.01 FLANGE GK27
PBBCA-PR-16223.01 FLANGE GK28

In the IsoLbl field as you can see there are 6 identical data. Under the Comp2 field there are 2 types of Iso Components which is the Elbow and the Flange. On the last field there are 4 different Stencils; GK14, GK24, GK50 & GK55. I want these 4 Stencils to be combined in one field since they fall under the same component of ELBOW....so forth and so on.

Report output should look like this:

IsoLbl Comp2 Stencil
PBBCA-PR-16223.01 ELBOW GK14,GK24,GK50,GK55
PBBCA-PR-16223.01 FLANGE GK27,GK28

I tried using the Grouping but no success.

Your help is highly appreciated.

Qwerty70
 
Have a look here:
faq701-4233

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
PHV, any clue how to call this function in Report please.

Thank you.

Qwerty70
 
What have you tried so far and where in YOUR code are you stuck ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top