Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to conditionally print a line?
Message
De
10/08/1999 21:30:33
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00251912
Message ID:
00252320
Vues:
10
Richard,

Read the great article about the frx structure on Markus Egger's website ( http://www.eps-software.com/isapi/eps.dll?KnowledgeBase~DisplayKBDocument~9 )

USE MyReport.frx

You can do a REPLACE SupExpr WITH lMyPrintWhenStatement FOR ....

If you're not sure what to use for the FOR above you can open the Expr and SupExpr and scroll through the report table with the down-arrow key, then paste lMyPrintWhenStatement into the SupExpr.

Definitely faster than doing all of the controls individually through the report designer!

Another thing which you may do at some future point is to copy your report format to a temp file, modify it by a program, and print from that - say month-end reports need to be in green ink or something.... REPLACE all of the color fields....

The implications of treating the frx like any other data table offer a lot of possibilities!



>I have a detail line in a report that I would like to print only a given set of conditions are true. I found that I can set the 'Remove line when blank' and 'Print When' conditions of each individual field. However when I have a large number of fields this method is very cumbersome.
>
>Does anyone know of a better (easier) way?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform