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.
Remarks
Example
See Also
© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08