>Hello my fellow VFPers!
>
>I get "Data type mismatch" error when I use the RAT() function to find a Carriage Return at the end of the first line of my memofield. How do I do it? Here is my command.
>
>? RAT(CHR(13),myTable.myMemofield)
>
>Thank YOU.
If its the first Carriage return you are looking for the
At(Chr(13),myTable.myMemofield)
seems to work just fine, are you sure that the table is open?
Caroline