C# – Crystal Report: Showing Single Column Data into Rows of Multiple Columns

ccrystal-reportsvisual studio

Crystal Reports in Visual Studio 2008 with C#
Normally Data from single column comes like

Column1
val1
val2
val3
val4
val5
val6
val7
val8

BUT,I want to show data from my Single column in following format:

Column1
val1 val2 val3 val4
val5 val6 val7 val8
val9 val9 val10 val11
…….

…….

…….

Please help me out to get above output in Crystal Report

Best Answer

This can be done by splitting the details section in to columns.

  • Right click the Details section in Design view and select Section Expert.
  • Check the box Format with Multiple Columns An extra tab on the top right will appear called layout.
  • In the Layout tab set the Width to 4.5cm (for Portrait) and ensure that Across then Down is selected.

This will split the details in to columns of 4.5 cm wide.

Hope this helps.

Related Topic