Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Losing accented characters in standalone tables
Message
De
07/07/2005 09:38:37
Salminen Jukka
Js Software Systems
Vaasa, Finlande
 
 
À
07/07/2005 09:06:35
Barry Newton
Plan International
London, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01029897
Message ID:
01029915
Vues:
13
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform