Microsoft KB Archive/115987

{| = dBASE's LIST/DISPLAY HISTORY Commands Ignored in FoxPro =
 * width="100%"|

ID: Q115987

The information in this article applies to:


 * Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b, 2.6
 * Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, 2.5a, 2.5b, 2.6
 * Microsoft FoxPro for Macintosh, versions 2.5b, 2.5c

SUMMARY
In dBASE, the LIST HISTORY and DISPLAY HISTORY commands display the list of statements run previously. FoxPro ignores both commands because the FoxPro Command window provides this functionality. To view past statements, scroll up through the Command window.

Neither the online Help nor the printed documents mention that the LIST HISTORY and DISPLAY HISTORY commands are ignored in FoxPro.

MORE INFORMATION
The dBASE LIST/DISPLAY HISTORY commands can redirect their output to a file. To save all past statements to a file in FoxPro, do the following:

1. From the Window menu, choose Command. This brings the Command window to

the front (it has the focus). 2. From the Edit menu, choose Select All. 3. From the Edit menu, choose Copy.

4. Open a window for the file you want to contain the past statements,

and then choose Paste from the Edit menu. 5. Save the file. Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a 2.50b 2.50c 2.60 docerr KBCategory: kbprg kbdocerr KBSubcategory: FxprgGeneral
 * }