创建水晶报表时遇到问题! [英] having a problem in creating crystal reports!

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

问题描述

你好.

我正在做一个小项目,如今正在做水晶报告,以生成水晶报告,哪种方法最适合使用天气表或视图生成.

第二点是我想在主题下添加多行作为标题,例如主题,我想要一个主题名称,所以我该怎么做!

hello.

I am working on a small project, nowadays I am working on crystal report, to generate a crystal report which method is best for, weather to generate with tables or views.

and 2nd is that I want more than one row as a heading like subject under subject i want a subject name so how can I do this!!!

推荐答案

表或视图对Crystal Reports或与此相关的任何其他报告没有任何影响.

至于第二件事,我不使用Crystal Reports,所以我不知道.
Tables or Views doesn''t make any difference to Crystal Reports, or any other reporting for that matter.

As for the second thing, I don''t use Crystal Reports, so I don''t know.


1. 您需要记录(数据源),无论您使用的是表还是视图,或者数据来自sp或简单的sql查询或xml等...
毕竟,您应该拥有表格格式的数据[列集&行]将其分配到水晶报表中.

2.
假设您有这样的列,
subjId,SubjNm,SubSubjId,SubSubjNm
在Crystal报表中,可以使用分组选项.
只需为SubjId添加一个组,并在其中添加另一个组SubSubjId
和拖放SubjNm&报表中的SubSubjNm字段分别在组或明细部分内.

祝您编码愉快!
:)
1. you need records (Source of data) it doesn''t matter you are using table or view or data is coming from sp or simple sql query or xml etc...
the thing is after all process you should have data in table format[ set of column(s) & row(s)] to assign it in crystal report.

2.
suppose you have columns like this,
subjId, SubjNm, SubSubjId, SubSubjNm
In crystal report, grouping option is available.
simply, add group for SubjId and another group inside it SubSubjId
and dragdrop SubjNm & SubSubjNm fields in report respectively inside group(s) or detail part.

Happy Coding!
:)


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

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