Hi Vidar,
Look at the FONTMETRIC(), SYSMETRIC(), and TXTWIDTH() functions. Using a combination of these functions may be able to help.
>Is there any way to calculate how many lines a memo-field will take up on a report given the width and font for the field set in the frx?
>
>I guess what I'm asking is really how to SET MEMOWIDTH according to the length and font set in the frx so that MEMLINES() will give a correct answer.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05