Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Character field width
Message
From
13/10/2013 11:29:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Character field width
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01585392
Message ID:
01585392
Views:
65
Hi All:

I have a character field on my report that could potentially be as wide as 20 characters. In 90% of the cases, however, the field is less than 12 characters. Since I want the field to display as large as possible, I want to place two fields on the report with code in the 'print when', so that if it is less than 12 characters, use the larger font.

However, since I'm dealing with the Arial font, I can't say len>12, since a 'W' is wider than an 'i'. What is the code I would use?

Thanks,

Yossi
Next
Reply
Map
View

Click here to load this message in the networking platform