>>Taken together, this will give you a much more accurate pixel size to render a string.
>
>I really thought this would work. It does not even come close. My oldwidth * (len()/Len()) comes a whole lot closer then that does. The widths in the reports start in the thousands, in this case (8000.000), and the FONTMETRIC() comes up with (32.000). I end up with dashes in my reports, not labels.
>
>So, that does not work for what I am doing. Thanks anyway.
>
>Any other suggestions??
>
>Beth
AFAIK you need to convert to report's units, but I don't remember what they are.
If it's not broken, fix it until it is.
My Blog