在单选按钮上取消显示水晶报表部分 [英] suppress section of crystal report on radiobutton click

查看:123
本文介绍了在单选按钮上取消显示水晶报表部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是我试图根据用户在运行时输入的选择来禁止水晶报表的一部分.
例如:如果用户选择条形图单选按钮,则只有条形图的部分应该可见.但是我无法实现..
可以sum1指导我如何执行此操作吗?..

my problem is im trying to supress a section of a crystal report depending on choice enter by user at runtime.
eg: if a user selects barcharts radiobutton only section with barcharts should be visible.but im not able to implement it..
can sum1 guide me how to do this?..

推荐答案

saloni15写道:
saloni15 wrote:

sum1可以指导我如何执行此操作吗?.

can sum1 guide me how to do this?.



1.设置报告参数.
2.从用户那里输入此参数
3.根据此参数的值设置该部分的可见性

所以,
在Crystal Reports设计器中,查看您的节的属性,并且应该有一个抑制选项,您可以为其指定一个公式以返回适当的布尔值.在此处使用用户选择的参数的布尔值.



1. Set a report parameter.
2. Take input from user for this parameter
3. based on the value of this parameter set the visibility of the section

So,
In the Crystal Reports designer, view the properties of your section and there should be an option to Suppress, which you can give it a formula to return the appropriate boolean value. Use the boolean value of parameter selected by User here.


这篇关于在单选按钮上取消显示水晶报表部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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