Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
APPEND FROM xx AS cpage NOT WORK
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00151445
Message ID:
00152141
Vues:
21
>Help me please,
>I need to convert my old DBF tables from DOS to Windows'9x version. But when I use:
> USE myNewTable
> APPEND FROM myOldTable AS 1251 (or any other code page),
>I have the following error message
> "Code page number is invalid"
>when I try this:
> USE myOldTable
>VFP asks me to enter the code page and there are code page Numb. 1251
>Where is my fault.
>
>TIA
> Boris

Boris,

If your old DOS DBF tables have a codepage tagged on them you can safely use them in Windows.
If you want to create new tables, the easiest way is:
1. have CODEPAGE=AUTO in your CONFIG.FPW file
2. create the new table in VFP, they will have the appropriate code page tagged on them

Now, if you append from the old into the new table, all should be fine.

José
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform