Crystal Reports - Hiding a text and drawing object based on data

戏子无情 提交于 2019-12-23 10:18:10

问题


I have a text and drawing on a Crystal Report which I would like to hide if the data field "IsVisible" is set to 1. Is there an easy way to do this?


回答1:


You can either conditionally suppress the entire section that the fields/text/picture is on by going to 'Section Expert' -> select the section you want -> click the formula button next to 'Suppress (No Drill-Down)' and enter {field.IsVisible}<>1, or you can selectively only suppress the fields/text/pictures in question by right-clicking them -> 'Format Field' or 'Format Graphic' -> 'Common' tab -> enter the same suppression formula.



来源:https://stackoverflow.com/questions/8387354/crystal-reports-hiding-a-text-and-drawing-object-based-on-data

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!