>>I have some text that I converted to ascii to see what character codes were in it so I could replace them
>>
>>the text is
>>
>>April 9th Program materials
>>
>>the Ascii code converts to this
>>65 112 114 105 108 32 57 116 104 32 80 114 111 103 114 97 109 32 109 97 116 101 114 105 97 108 115 2 1
>>
>>when I try m.des1=STRTRAN(description,CHR(2)+CHR(1),'') it does not replace the characters
>>with a space.
>>
>>I need this and other information to be on one line.
>>any suggestions?
>
>Try this, it worked for me.
>
>
>lcStr = "April 9th Program materials"
>lcStr2 = CHRTRAN(lcStr,CHR(2),'')
>lcStr2 = CHRTRAN(lcStr2,CHR(1),'')
>FOR lnCnt = 1 TO LEN(lcStr2)
> ?? SUBSTR(lcStr2,lnCnt,1) + ":"
>ENDFOR
>
>
>CHRTRAN() tends to work better for me than STRTRAN()
this is what finally removed whatever was moving the text to the next line
m.des1=CHRTRAN(arjthead.description,CHR(9),' ')
m.des1=CHRTRAN(m.des1,CHR(10),' ')
m.des1=CHRTRAN(m.des1,CHR(11),' ')
m.des1=CHRTRAN(m.des1,CHR(13),' ')
If any one is missing it did not work
thanks for your help