Try PADR(ALLT(MLINE(memo_name,1)),100) or change the 100 to current SET MEMOWIDTH. The problem is that the first record encountered only has a one character or blank entry and the SELECT is creating the 1 character field defintion for the cursor based on that.
>Is it psooible to select a line in a memo filed and have just the line returned in a cursor. I have tried mline(memo_name,1) but it only returns the first character og the first line into the cursor.
>
>TIA
>Ian
------------------------------------------------
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