>>>Hi all
>>>Can anybody help me how to find CR/LF in a memo field.
>>>Thanks
>>>
>>>Tamas
>>
>>? ATC(CHR(13)+CHR(10), MemoFieldName)
>
>Thanks, Boris.
>Intrestingly the memo field seems to have ten lines but the ATC returns 30.
>Can I display where exactly the CR is in the text?
>
>Thanks
ATC() returns the first occurrence of the searched string. If you want to see how many occurances of CRLF you have in that memo you could use:
#define CRLF CHR(13)+CHR(10)
? OCCURS(CRLF, MemoField)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.