[英]How to limit filter for sub report graph in crystal report..?
I'm new to crystal reports and I'm using crystal report 11. I have created a crystal report with a sub report and that sub report filtered by 2 user parameters named “EMP_NAME” and “EVALUATION_YEAR”. 我是Crystal报表的新手,正在使用Crystal报表11。我创建了一个Crystal报表,其中包含一个子报表,并且该子报表由2个名为“ EMP_NAME”和“ EVALUATION_YEAR”的用户参数过滤。 Within the sub report I insert a group and in group footer I insert a chart.
在子报表中,我插入一个组,并在组页脚中插入一个图表。 That chart filtered from above 2 user parameters and from group parameter.
该图表是从以上两个用户参数和组参数中筛选出来的。
The problem is I need to filter my sub report from “EMP_NAME” and “EVALUATION_YEAR” while filtering my chart only from “EMP_NAME” and GROUP PARAMETER. 问题是我需要从“ EMP_NAME”和“ EVALUATION_YEAR”中过滤子报表,而仅从“ EMP_NAME”和“ GROUP PARAMETER”中过滤图表。
Is there any way to do this? 有什么办法吗?
Thank you. 谢谢。
Requirements: 要求:
Solution: 解:
{?Employee Name}
parameter in the the main report; {?Employee Name}
参数; link it to {TABLE.EMP_NAME}
in the subreport {TABLE.EMP_NAME}
{?Evaluation Year}
parameter in the main report; {?Evaluation Year}
参数; create an {?Evaluation Year}
parameter in the sub-report; {?Evaluation Year}
参数; link two parameter fields; header
section header
部分 EVALUATION_YEAR
; EVALUATION_YEAR
上插入一个组; suppress footer; {EVALUATION_YEAR}<>{?Evaluation Year}
; {EVALUATION_YEAR}<>{?Evaluation Year}
,则创建条件公式以抑制标题; suppress details
section. details
部分。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.