That's correct. It's been a long time but I think I remember some issue with page breaks. It's been a couple of years since I worked on a report like this. Thanks goodness <g>.
>James,
>
>Thanks. I assume you then suppress the header/footer bands from printing when plUseGroup is false.
>
>-- Randy
>
>>I put this in the group. Then I setup all the varibles in code before launching the report.
>>
>>
>> iif(plUseGroup,eval(pcGroup),1)
>>
>>
>>
>>
>>>We are designing a report for which the user can select the grouping choice at runtime. From their choice we will set variables and use dynamic group expressions similarly to the technique in Cathy Pountney's book.
>>>
>>>My question is what is the best approach when the user selects "no grouping"? Should we make a copy of the FRX at runtime and remove the objects related to that Group? Or is there a suppression technique that can be built into the report?
>>>
>>>Thanks,
>>>
>>>-- Randy