DISPLAY STATUS Command

Displays the status of the Visual FoxPro environment.

DISPLAY STATUS [TO PRINTER [PROMPT] | TO FILE FileName [ADDITIVE]] [NOCONSOLE]

Parameters

  • TO PRINTER [PROMPT]
    Directs output from DISPLAY STATUS to a printer.

    You can include the optional PROMPT clause to display a print dialog box before printing starts. In this dialog box, you can adjust printer settings, including the number of copies and page numbers to print. The printer settings that you can adjust depend on the currently installed printer driver. Place the PROMPT keyword immediately after TO PRINTER.

  • TO FILE FileName
    Directs output from DISPLAY STATUS 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.
  • ADDITIVE
    Appends to the end of the named file. If you omit ADDITIVE, then the file is overwritten with the value of the expression.
  • NOCONSOLE
    Suppresses output to the main Visual FoxPro window or to the active user-defined window.

Remarks

This form of DISPLAY lists information about the current Visual FoxPro environment. The categories of information and the information in each category are as follows.

Table and index file information:

  • Open tables

  • Open memo files

  • Table aliases

  • Table code pages

  • Table relations

  • Active indexes

  • Index file keys

  • The controlling index file or tag

  • Open structural compound files

  • Open compound index tags

  • The shared attribute status of each open table

  • The currently locked records in each table

  • The EXCLUSIVE use setting

  • The LOCK setting

  • The MULTILOCKS setting

  • The SET REFRESH value

  • The SET REPROCESS value

Open low-level file information:

  • Open low-level files

  • The file handle number for each low-level file

  • The file pointer position for each low-level file

  • Read/write attributes for each low-level file

Additional Visual FoxPro environment information:

  • The procedure file in use

  • The processor type

  • The Visual FoxPro path

  • The Visual FoxPro default directory

  • The print destination

  • The margin setting

  • The current work area

  • SET command settings

  • Binary modules currently loaded

  • DDE information in Visual FoxPro

  • Current code page

  • Current collating sequence

  • Compiler code page

  • Current date format

  • Keyboard macro key combination

  • How UDF parameters are passed

  • Textmerge options

  • External registered shared library functions (DLLs)

See Also

Reference

DISPLAY Command
LIST Commands
DISPLAY STRUCTURE Command
DISPLAY PROCEDURES Command

Other Resources

Commands (Visual FoxPro)
Language Reference (Visual FoxPro)