>hi,
>?CPCONVERT(CPCURRENT(1) ,CPCURRENT(2),my_string)&& my_string mean my fields
>
>mytable name is code99.dbf
>
>>?CPCONVERT(CPCURRENT(1) ,CPCURRENT(2),my_string)
>use code99.dbf
>brow &¬ works
You're using this function wrong. my_string was a sample only.
But I looked up VFP's help and I saw Foxpro DOESN'T SUPPORT ARABIC dos codepage so cpconvert useless for you.
you should use a string table for dos and another string table for windows. Please be carefull, which I'll write below a sample, you should adopt your program that:
dos_string_table="abcdef"
win_string_table="qwergfh"
repl my_field with chrt(my_field,dos_string_table,win_string_table)