Crystal Report:将单列数据显示为多列的行 [英] Crystal Report: Showing Single Column Data into Rows of Multiple Columns

查看:122
本文介绍了Crystal Report:将单列数据显示为多列的行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Crystal Reports 通常,来自单列的数据就像

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

第1列
val1
val2
val3
val4
val5
val6
val7
val8

Column1
val1
val2
val3
val4
val5
val6
val7
val8

但是,我想以以下格式显示我的单一"列中的数据:

第1列
val1 val2 val3 val4
val5 val6 val7 val8
val9 val9 val10 val11
.......

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

.......

.......

请帮助我获得高于Crystal Report的输出

Please help me out to get above output in Crystal Report

推荐答案

这可以通过将详细信息部分拆分为列来完成.

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

  • 右键单击详细信息"部分, 设计视图并选择部分 专家.
  • 选中复选框Format with Multiple Columns 右上方将显示为布局.
  • 在布局"选项卡中,将宽度"设置为 4.5厘米(对于纵向),并确保已选择Across then Down.
  • 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.

这会将细节分成4.5厘米宽的列.

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

希望这会有所帮助.

这篇关于Crystal Report:将单列数据显示为多列的行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆