Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Pack the Optional Print Label?!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00089163
Message ID:
00089214
Vues:
26
>In an Order, there are some terms and condition of static words
>to show or not in Label.
>
>Some of them surely cannot add 'NOT' cause!!
>
>e.g. Some condition Label on print and select in form!
>
>'- Need Throw-Test on Package' == Print when 'ThrowTest' Field is .T.
>
>* Unique as Adding '- No need Throw-Test...' make dirty on report!
>
>'- Special Wooden Pack' == Print when 'SpWooden' Field is .T.
>'- Normal Paper Pack' == Print when 'SpWooden' Field is .F.
>
>Of course as there are many static terms, the report will very ugly!
>So, at the end of Planning.frx Report, it will like below:
>
>XXXXXXXXX
>
>
>XXXXXXXXX
>XXXXXXXXX
>
>XXXXXXXXX
>
>XXXXXXXXX
>XXXXXXXXX
>....
>
>
>Any method to avoid it?! Of cos, I can't make 1024 reports
>for 10 different reports to pack them nor adding 1024 Labels with
>well packed in Report... >_<"

Justok,
Try using IIF(logicalfield,"Need Throw-Test","No Need Throw Test"). If the logical field is true, the first item will print, else the second item. Also, if one item will not print if another item does print, put one on top of the other on the report.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform