简体   繁体   中英

Crystal Reports Chart Detail Suppression

I have multiple entries each which can have one or more approval stages (with a date). I've been able to use grouping/detail suppression to only retrieve the latest approval stage (as we don't care if it was submitted if it's currently final approval) but no matter what I try the chart always shows every single record which brings back information we don't need to see.

Does anyone know how to fix this chart so that it only brings back the latest approval stage for each entry (with multiple approval stages)?

image (can't post images yet)

Charts, like cross-tabs, act on all of the data in the report. You will need to build the report in a way that the extraneous data is removed.

I would recommend using a SQL-expression field to identify the latest approval stage, then reference this field in the record-selection formula. See my posting: Crystal Reports: Using SQL Expression Fields .

If the syntax is unruly, you can always use a Command.

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