Hi Hilmar,
Thanks for the reply. I have used the technique you describe and it works well for some of my files. Unfortunately, this table is a child. When you move through the parent table, sometimes you have one matching child memo record and sometimes you have 10 matching child memo records.
Thanks
>>Hello,
>>
>>I have a table with several hundred records. One of the fields in the table is a memo field. I would like to display the contents of the memo fields in a grid. Some of the memo fields have one line of text. Other memo fields have several lines of text.
>>
>>Has anyone figured out how to display grid height based on the amount of information in a particular memo field. When a memo field has one line of text, I want the grid height for that row to be one line high. When a memo field has 4 lines of text, I want the grid height of that row to be 4 lines high.
>>
>>I have asked this question before, but, to date, no luck.
>
>I think you can't have a variable line height.
>
>You can get the number of lines in a memo field with memlines().
>
>I would rather show padr(memo, 100) in the grid, and only show the entire memo for the selected field, in a separate EditBox (outside of the grid).
>
>HTH, Hilmar.
Thanks,
TFISHER