Report version 11
Database SQL Server within a MAS500 Enterprise application.
I need to suppress the group header based on the records in the detail section. Records in Details are conditionally suppressed when the level field does not equal 1 {tmfBOMWhereUsWrk.BoMtLevel}<>1. If no records are returned in Details, I need to suppress the group header.
Using the same expression, {tmfBOMWhereUsWrk.BoMtLevel}<>1, to conditionally suppress the group header doesn't work because it only considers the first record. I have also created a running total to count the records in the group where the level = 1, but this count is not accurate until we get to the group footer and therefore of no use to me in suppressing the group header. I can't use a standard summary expression, because I'm not able to add the condion to only summarize where level = 1. In the example below, I would like to have the group header information of 3008680-01 suppressed because there are no items with a level 1, hence no detail records are returned.
Any help would be appreciated.
Sample Data
Group by Component
Item Version Level
3008680
302255 A 1
400007 B 1
3013354 A 1
3008680-01
3008680-02
10000725 C 1
3019007 A 1
Thanks,
DLee
Database SQL Server within a MAS500 Enterprise application.
I need to suppress the group header based on the records in the detail section. Records in Details are conditionally suppressed when the level field does not equal 1 {tmfBOMWhereUsWrk.BoMtLevel}<>1. If no records are returned in Details, I need to suppress the group header.
Using the same expression, {tmfBOMWhereUsWrk.BoMtLevel}<>1, to conditionally suppress the group header doesn't work because it only considers the first record. I have also created a running total to count the records in the group where the level = 1, but this count is not accurate until we get to the group footer and therefore of no use to me in suppressing the group header. I can't use a standard summary expression, because I'm not able to add the condion to only summarize where level = 1. In the example below, I would like to have the group header information of 3008680-01 suppressed because there are no items with a level 1, hence no detail records are returned.
Any help would be appreciated.
Sample Data
Group by Component
Item Version Level
3008680
302255 A 1
400007 B 1
3013354 A 1
3008680-01
3008680-02
10000725 C 1
3019007 A 1
Thanks,
DLee