crystal reports - How to suppress a group header based on running-count results? -


I am trying to suppress a group header when there are no detailed results in any of the following groups. I have added the total number of manual runs, which is showing the correct number (such as 0 when no record is shown on the report). I have taken this approach because I have various items pressed within a broad section and should not be used as part of the counting

I am trying to not show the head in the header if wide There are no related records shown in the section. But, this is not working when I say that the display count is 0, it suppresses all headers instead of only those people who need to be displayed. How can I fix this?

Edit

I put it on my own ... I needed to make a sub-report of the main report. I then added a shared variable, which will only work if there is sub-report in the above section of the group headers in the main report that the value given to that group is required. This trick is not to suppress the section with subreport and to ensure that the subreport is in the same group header (only a different section of the same area that is being grouped).

The crystal is very nature when it comes to placement and Crystal version 10 will not pass a shared variable if the subreport is suppressed.

Try it, go to the section expert and select the section you want to suppress the formula section " Go to supers (not drill down) "and input the following formula.

Calculation ({LIB_MARC_DETAILS.MARC_DATA}, {LIB_BIBLIO.RSN}) & lt; 2

The first field is a field to count. The second area is the area to be used for the group, in the end the condition of suppressing (in this case it records at least 2 of that group to suppress that group)


Comments