VALIDATE DATABASE Command

Ensures that the locations of tables and indexes in the current database are correct.

VALIDATE DATABASE [RECOVER] [NOCONSOLE]
   [TO PRINTER [PROMPT] | TO FILE FileName]

Parameters

RECOVER

Displays dialogs that make it possible for you to locate tables and indexes that are not in the locations contained in the database. Beginning with Visual FoxPro 7, the RECOVER clause is supported in programs.

NOCONSOLE

Suppresses error message output to the main Visual FoxPro window or to the active user-defined window.

TO PRINTER [PROMPT]

Directs error message output from VALIDATE DATABASE to a printer.

PROMPT displays a Print dialog box before printing starts. Place the PROMPT keyword immediately after TO PRINTER.

TO FILE FileName

Directs error message output to the file specified with FileName. If the file already exists and SET SAFETY is ON, you are asked if you want to overwrite the file.

Expand imageRemarks

Expand imageExample

Expand imageSee Also


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