Hi Simon,
>>>I use the ??? command.
In that case you must use ??? STRTRAN(cString,"{","{{}"). Otherwise you get a syntax error when VFP encounters a "{" in your string. For VFP this token means that the next paert of th string is a code to interpret, eg:
??? "{9}{9}Hello World{Enter}"
is the same as
??? Chr(9)+Chr(9)+"Hello World"+Chr(13)
Christof
--
Christof