Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controlling Print When
Message
 
 
À
28/07/2005 19:49:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01035323
Message ID:
01036822
Vues:
9
You're welcome.

>Thanks Sergey. That's a format option I had not noticed before. It worked great.
>
>
>>>My report contains several data fields that are populated by UDFs. These UDFs return a number that requires a fair amount of processing. I would like to set the PRINT WHEN to not print when the returned number is zero. However if I put the expression MYUDF()>0 in the PRINT WHEN box I will be forcing the report to run the UDF a second time to determine if the control should be printed. This will slow down the execution of the report considerably as the table size grows ever larger.
>>>
>>>Is there a way to tell the report to not print the control if the value is zero without running the UDF again?
>>
>>First, try to set the format of those report fields to "Blank if Zero". If it doesn't work for you, move all those calculations to the report variables. After that you can use such variable in the field expression and PRINT WHEN.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform