简体   繁体   English

水晶报表遗漏数据

[英]Crystal Reports Omitting Data

This might be a pretty simple question but I'm a Crystal Reports newbie...I have a report where I want specific pages that have a corresponding column omitted. 这可能是一个非常简单的问题,但我是Crystal Reports的新手...我有一个报告,希望在其中省略具有相应列的特定页面。 So for example say it has someone's name and information on every page, how would I use a column that for example has the state on it, to omit certain results, like I don't want any pages in the report generated from states that have the "state column" from the database equal to like "TX" or something. 因此,例如说它在每个页面上都有某人的名字和信息,我将如何使用例如上面带有状态的列来省略某些结果,例如我不希望报表中的任何页面由具有数据库中的“状态列”等于“ TX”之类。 This isn't what I'm actually doing, but it's an example of the functionality I want. 这不是我真正在做的,但这只是我想要的功能的一个示例。

I'm thinking it would be in either the group or record selection formulas but I'm not sure how to go about putting it together to not create a page for the results when a certain column is equal to a value. 我想这将是在组或记录选择公式中,但是我不确定如何将其放在一起以在某个列等于某个值时不为结果创建页面。

-Thanks from a total Crystal Reports noob. -感谢Crystal Reports的新手。

So each page of the report is one record in the result set (someone's name and information) and you want to exclude some pages based on the value of one of the columns? 因此,报表的每一页都是结果集中的一条记录(某人的姓名和信息),您是否要根据某一列的值排除某些页面?

Perhaps I'm not understanding the problem correctly but can't you just change the datasource query? 也许我没有正确理解问题,但是您不能只更改数据源查询吗?

WHERE state <> 'TX'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM