SET TABLEPROMPT Command

Enables or disables display of the Open Dialog Box (Visual FoxPro) in commands that allow the user to select a table (or view) if one is not open.

SET TABLEPROMPT ON | OFF

Parameters

ON

(Default) The Open dialog box is displayed when no table or view is open, and a command is executed that requires an open table or view.

The Visual FoxPro SELECT - SQL command looks for tables in all work areas in the current session. Other commands only look for a table in the current work area unless a work area is explicitly specified. The following are some of the commands affected by the TABLEPROMPT setting.

OFF

The Open dialog box is suppressed when no table or view is open, and a command is executed that requires an open table or view.

The command will fail and an error will be generated. Typical errors are File "name" does not exist (Error 1) and No table is open in the current work area (Error 52).

Expand imageRemarks

Expand imageSee Also


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