>>You're right of course. The reason why it doesn't show with CHRTRAN() is that the "|" character is only replaced with CHR(13).
>
>Why is it that a chr(13) only shows the line after the cr?
>
>
? "abc" + Chr(13) + "123"
>** displays
>123
>
>? "abc" + Chr(10) + "123"
>** displays
>abc
>123
>
>? "abc" + Chr(13) + "123" + Chr(13) + "efg"
>** displays
>efg
>
>? "abc" + Chr(10) + "123" + Chr(10) + "efg"
>** displays
>abc
>123
>efg
>
>>
>>>>you don't see the result on the screen with the ? command.
>>>
>>>How come? It shows on screen if you use strtran?
I think that has something to do with the fact the chr(13) does a carridge return ie put the cursor at the beginning of the line (ready to overwrite) while it the chr(10) line feed that actually advances the cursor to the next line.
Caroline