Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Pack the Optional Print Label?!
Message
 
To
03/04/1998 01:28:05
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00089163
Message ID:
00089214
Views:
22
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform