Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Losing accented characters in standalone tables
Message
From
07/07/2005 09:38:37
Salminen Jukka
Js Software Systems
Vaasa, Finland
 
 
To
07/07/2005 09:06:35
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01029897
Message ID:
01029915
Views:
14
>hi
>
>i have some old DBF tables from Clipper that i'm trying to copy programmatically, which contain accented characters. however, when i copy the tables, i lose the accented characters.
>
>i've tried a few approaches with the same result:
>1. use, copy structure to, scatter and gather.
>2. select * from table1 into table2.
>3. use, copy to table2.
>
>i need to do this programmatically and can't just use a copy file command. also, CPDBF() on the original table returns 0, and so does the table created.
>
>any help appreciated.
>regards,
>barry

Would field by field copying work using REPLACE NewTable.Field WITH CPCONVERT(850, 1252, OldTable.Field), assuming that the tables originally contain INTERNATIONAL-DOS characters?
--
Jukka Salminen
Previous
Reply
Map
View

Click here to load this message in the networking platform