SET COMPATIBLE Command

Controls compatibility with Microsoft FoxBASE+ and other FoxPro languages.

SET COMPATIBLE FOXPLUS | OFF | DB4 | ON [PROMPT | NOPROMPT]

Parameters

FOXPLUS | OFF

(Default) These two keywords can be used interchangeably. Each allows programs created in FoxBASE+ to run in Microsoft Visual FoxPro without changes.

DB4 | ON

These two keywords can be used interchangeably. Including either keyword affects the behavior of the commands and functions listed below.

PROMPT | NOPROMPT

These options determine whether Visual FoxPro displays a dialog box when you open a dBASE table containing a memo field.

Include the PROMPT option to display the Convert Memos dialog box. If you open a dBASE IV table containing a memo field, Visual FoxPro by default displays the Convert Memos dialog box, which enables you to convert the dBASE memo file to a Visual FoxPro format. You must convert the memo file to a Visual FoxPro format to open the table in Visual FoxPro.

If you include NOPROMPT, the Convert Memos dialog box is not displayed when you open a dBASE IV table containing a memo field. The dBASE memo file is automatically converted to a Visual FoxPro format.

Expand imageRemarks

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic