Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Summary variable?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00846146
Message ID:
01083596
Vues:
24
>>Is there a built in variable or function to determine if the report is running in summary mode so that I can set the Print When function to something like _psummary=.t. ?
>>
>>Thanks.
>
>Darren,
>VFP doesn't have this but you could set something like it up.
>
>The SUMMARY keyword causes VFP to abort execution of anything in the Detail band. If you had something in another part of the report that you wanted to base this on, you could create a variable in the On Enter of the Detail band or you could assign an existing variable a new value. To create or assign a new value to a variable in the On Enter, do the following:
>_VFP.DoCmd([luvar="somevalue"])
>
>If the variable didn't exist prior to the report, it will be created as public. If it did, it will remain as private in scope.
>
>Check for the value of that variable in your Print When expression and print appropriately.
>
>HTH.

Larry,

Thanks for the idea but I think it would not work for the report Header and page Header.
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