>I'm in the process of upgrading some batch files written in VFP 3.0 and VFP 6.0.
>
>I am adding some new database tables for auditting and errortracking. They are written in FoxPro for Windows 2.6a.
>
>When the batch files run, they ask for the Code Page the table was originally written in (since they are running under VFP 6.0 now)....
>
>so....
>
>
>given the Code Page Dialogue box, what should I choose? If I choose CANCEL, it asks for it again the next time it runs...and I'm not sure of the choice I should make.
>
>Thanks for the info!
>
>Tommy
Depends whether the DBFs were originally created in DOS, or in Windows. It would only make a difference anyway if you use diacritical marks or other special symbols (quite common if you have Spanish or German information).
1252 is the codepage for Windows.
Chosse 437 or 850 if the table was created with DOS.
You can suppress the code page dialog with SET CPDIALOG OFF.
If you select the wrong codepage, there is a small utility (cpzero) in the VFP folder that will reset the codepage.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)