>
http://doughennig.blogspot.no/2006/04/forget-txtwidth-use-gdipmeasurestring.html>
>>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
Thanks!