Hi!
It is not possible in run-time. You can read the content of the FRX file (it is a plain DBF table) and take the field's width from there, but this is not a simple approach.
>I have a single line report field for a person's name. I can determine the data's proportional TXTWIDTH() based on the font used before printing, but I would like to detect if it will overflow the report field beforehand. In case of an overflow, I would want to abbreviate the name (i.e., make the first name a first initial only). I cannot find a function to read the width of a report field.
>
>Thanks,
>Paul
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.