Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Count Unique Customers in Footer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01102497
Message ID:
01234310
Vues:
16
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform