Share via


SET CPDIALOG Command

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

SET CPDIALOG ON | OFF

Parameters

  • ON
    (Default) Displays the Code Page dialog box when you open a table and the following conditions are true:
    • The table is opened exclusively.
    • The table is not marked with a code page.
  • OFF
    Does not display the Code Page dialog box when a table is opened.

Remarks

The Code Page dialog box makes it possible for 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.

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

See Also

CPCURRENT( ) | CPCONVERT( ) | CPDBF( ) | GETCP( ) | USE