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!

Concatenating multi rows

Status
Not open for further replies.

ililal

Programmer
Dec 4, 2006
15
US

Here is the Result Set.

----------------------------
ID_NUM | Name | Description |
----------------------------
1 |Al |Reporter |
1 |Al |Developer |
1 |Al |DBA |
-----------------------------

Desired result
Report
ID_NUM Name Description
1 Al Reporter, Developer, DBA


I've also tried suppressing the data; however, my reports look like.
ID_NUM Name Description
1 Al Reporter
Reporter, Developer
Reporter, Developer, DBA

Thanks,
Al
 
Looks like you already used a string variable approach and managed to concatenate the values in a detail-level formula.

Now just place a formula in the Group Footer that simply displays the variable and suppress the detail section.

Remember to reset the variable in a Group Header formula.

- Ido



view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Thanks, it works. Now, I'm trying to alternate color.
My color formula is:

if remainder(RecordNumber, 2) > 0 then silver
else
white;

Also, it is placed in the group footer section.
However, it only prints white lines. Any suggestions?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top