You can add new logical field to the report cursor called 'PrintSuperGroup" and populate with .T. if super group should be printed and with .F. otherwise. In super group group/header footer fields use combination of 'Print When' and 'Remove Line if Blank' to control printing.
>Hello all. Can I do following in report writer ?I am not very much experienced with report writer so I would very much appreciate your help on this. I don't know how to explain this. so I am giving some dummy example. I have two groups in reports. i.e. department super group and department group. Report displays number of employees in each department group and totals them on department group and then on super department group.
>IT Department Group
> Systems analyst group
> Manager 2
> Executives 5
>
> Total : 7
>
> Programmers Group
> Manager 3
> Executives 5
>
> Total : 8
>
>Total for IT Department Group : 15
>
>Marketing Group
> Marketing Group
> Manager : 3
> Executives : 5
>
> Totals : 8
>
>Total for Marketing Group : 8
>Now, as you see for IT department group its fine. but for Marketing super group, there is only one group underneath . so in that case I don't want to repeat super group header (where i display super group name) and super group footer (where i display total for super group). For IT department group , I want that . but not for marketing super group. Can it be possible? I would very much appreciate your help in here.
>
>Thanks in advance
>
>Mark
--sb--