Jim - Thanks that fixed it. The routine worked on about 30 other fields on that form but it didn't on the memo field. Now I understand why.
Thanks again
Gaylen
>Gaylen,
>
>This is how xBase compares strings, they are compared until the string on the right of the = is exhausted. When your memo is empty the right side starts as exhausted so it is equal to everything. You can fix this by doing;
>
>
>IF NOT Edtibox.Value == Table.Memofield
>
>
>The == is exact string comparison.