Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bold Font of Some Records
Message
From
11/03/2022 11:47:02
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01683804
Message ID:
01683814
Views:
27
>The second texbox value is:
>
>iif( COLUMN3, "", COLUMN1)
>
>
>Depending on the value in COLUMN3, only one textbox is printed.

Acually, they are both printed, except one has "". But with PrintWhen you can control other things too - not just textboxes: lines, images etc.
Imagine that instead of one being bold, it had a border. You'd still see the border, as both would be printed, one empty (with border) and the other with column1 and no border. I'm not even sure how this would look, would one of them cause a newline or not.

To me it looks simpler to have a simple field value in each, then in one's PrintWhen you have "column3", in the other's "not column3".

Disclaimer: between 2006 and now I used fox reports maybe 20 times.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform