vs2005中的水晶报表 [英] crystalreports in vs2005

查看:13
本文介绍了vs2005中的水晶报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个显示员工地址标签的水晶报表,通过在 vs2005 中使用水晶报表,我创建了水晶报表并连接到数据源,一切正常,报表生成正确,它显示喜欢

I need to create a crystal report that shows the address label of the employee, By using crystal reports in vs2005 I had created the crystal report and connect to the data source and every thing goes fine and the report generated correctly, it displays like

name

father name

address1                        address2                       city

state                           pin.

以上述格式生成报告.单个部分中的单个员工地址

in the above format the report was generated. a single employee address in a single section

但我的客户想要

name(of first employee)                         name(second employee)
fathername                                      fathername

address1                                        address1
address2                                        address2

city                                            city 

state                                           state

pin                                             pin

下面应该生成第三名员工和第四名员工的地址标签.任何人都可以帮助我如何以时尚的方式生成报告.

againg below third employee and fouth employees address label should generate. Can any one help me how to generate report in the fashion.

提前致谢.

推荐答案

在详情部分右键,选择Section Expert.

Right click in the details section, select Section Expert.

选中多列格式"复选框.颜色之后应该会出现一个新选项卡.

Check the tick box "Format with multiple Columns". A new tab should appear after Color.

使用此选项卡上的设置,可以生成列式数据.

Using the settings on this tab, can generated columned data.

基于 OP 评论:

需要做的是:

将字段添加到报告中(如果计划 2 列,则仅使用报告的左半部分,仅使用左侧第三列的 3 列,依此类推).

Add the fields to the report (if planning 2 columns, use only the left half of the report, 3 columns only left third, and so forth).

右键单击详细信息并选择部分专家.

Right click details and select section expert.

检查多列格式,这应该在颜色选项卡旁边显示布局选项卡.

Check Format with Multiple Columns, this should show the Layout tab next to Color tab.

对于此示例,在布局选项卡下,将打印方向从向下更改为横向,然后向下更改.将详细信息大小更改为报表宽度的一半.

For this example, under Layout tab, Change Printing Direction from Down then across to across then Down. Change Detail size to half of the Report width.

这篇关于vs2005中的水晶报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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