Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Font Bold Based on Condition
Message
From
20/06/1999 11:38:53
 
 
To
20/06/1999 10:39:46
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00231892
Message ID:
00231898
Views:
14
>Is there a way to have the font Bold based on a condition ? For example if I had a table that is a list of names and have a logical field that is for US resident. I need to print out a report that when I reach a record that US resident is .F. to print that name in BOLD.
>
>Right now I use ( print when ) to print an indicator next to name only when US resident is .F. but the client wants BOLD print.
>

Create two overlapping fields on the same line with the same field as their expression, with one using a bold font and the other normal, and use the logical field to control which is printed through the Print When on each (IOW, one sets Print When to logical field, the other to NOT logical field).

You need to make certain that the fonts are the same height and width in both bold and normal styles or that adequate space is given for the wider (probably bold) font style; a monospaced (non-proportional) font may make life easier.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform