>Hi All
>
>There is a strange character in mytable.memo, and it won't go away. It looks and feels like an extended ASCII character. Issuing a STRTRAN(myvar,CHR(x)) does clear it from a variable string (lcvar = mytable.memo). But after issuing a REPLACE WITH, the character is back!
>
>The field data is from a text.txt file. Two different approachs have been tried to write to the table. First by Append Memo. Because of this problem, I also tried using FILETOSTR() and REPLACE WITH with some string manipulation in between; to attempt to remove the character.
>
>When you look at the memo field (Browse) it looks like an extended ASC character and ASC() does return a value, but not always the same ASC() value. The only other clue is that the character is the last one in the string. But even in this case, a lcvar=LEFT(lcvar,LEN(lcvar)-1) followed by REPLACE WITH still left the character in the memo field. The table's code page is Windows ANSI(1252).
>
>I Dunno. Sure hope you do.
>
>Thanks
>Don Lowrey
This might be some sort of corruption. Try to copy to another file (COPY TO).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)