SET CPDIALOG Command

See Also

Specifies whether the Code Page dialog box is displayed when a table is opened.

Syntax

SET CPDIALOG ON | OFF

Arguments

ON

(Default) Displays the Code Page dialog box when you open a table and the following conditions are true:

OFF

Does not display the Code Page dialog box when a table is opened.

Remarks

The Code Page dialog box allows you to specify a code page for tables created in earlier FoxPro versions and other products that create Visual FoxPro tables. The table is marked with the code page you choose.

When creating an application, issue SET CPDIALOG ON to ensure that the tables included in your application are marked with the proper code page. In your completed application, be sure that SET CPDIALOG is OFF.

You can also interactively specify whether the Code Page dialog box is displayed with the Prompt for Code Page check box in the Data tab of the Options dialog box. The Options dialog box is displayed by choosing Options from the Tools menu.

For additional information on code pages and Visual FoxPro's international support, see Code Pages Supported by Visual FoxPro in Chapter 18, Developing International Applications, in the Programmer's Guide.