Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bold Font of Some Records
Message
 
 
To
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:
01683818
Views:
24
>>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.

I do have Not to Print when empty in PrintWhen. So, both are not printed. Just the one which has some entry.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform