0

stackoverflow forum member I am having some problem with a certain report designed using ireport 4.5 I am able to group the data. Now I want that the employee name should be come in one line only ex: Hiren,Yogesh,Jayesh,Aakash,Niraj etc.

But with my design the employee names comes in new row.

I want the employee name should come in one row only with separated by "," like Hiren,Yogesh,Jayesh,Aakash,Niraj

employee report

is there any way to do that?

Yogendra Singh
  • 553
  • 4
  • 12
  • 33

1 Answers1

1

If your source is a SQL database, then do this.

If your source is something else, then create a variable to concatenate the string values. Don't use the detail band. Put the variable into the group footer (or header) as the Employee.

Community
  • 1
  • 1
mdahlman
  • 9,204
  • 4
  • 44
  • 72