简体   繁体   中英

Group filtering in Crystal Reports

In Crystal Report Designer in VS 2008, I can go to the crystal reports menu, report, Selection Formula, Group and enter a filter formula to filter on a group level. This means I can filter to only show records for a certain account, but my group levels show the totals for all records, which is what I want.

However, when I come to add my filter dynamical in my C# code, the only option I get to use is

CRViewer.SelectFormualr= .....

This does the record type filtering, not group type. Is there any way to do group level filtering?

您需要的是基础报表的GroupSelectionFormula属性,该属性为ReportDocument.DataDefinition.GroupSelectionFormula。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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