Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
APPEND FROM xx AS cpage NOT WORK
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00151445
Message ID:
00152141
Views:
20
>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é
Previous
Reply
Map
View

Click here to load this message in the networking platform