>>I have two groups:
>>ProjectName
>> Caption
>>
>>I want to print totals in Caption group footer and in Project group footer. However, if I only have one Caption, I don't want to print Caption Footer.
>>
>>I'm thinking, can I use your/mine idea or I better try Cetin's idea with array or a modification of it with an extra cursor.
>
>Add a variable, Initial Value = 0, Calculation = COUNT, Reset AT Caption Group.
>Then add Print When = (Captionvariable > 1) in all controls of the Caption footer. Make them Float and Remove Line if Blank checked.
Hi Borislav,
I think I'm going to use last part of your idea combined with Edward's idea (e.g. pre-calculated field). Since I create the report cursor using SCAN/ENDSCAN, this logic can be easily incorporated.
Neverless, the whole idea may be very useful if you don't prepare the cursor yourself in advance.
Thanks.
If it's not broken, fix it until it is.
My Blog