Microsoft KB Archive/87806

{| = SAVE and NOCLEAR Clauses for BROWSE =
 * width="100%"|

ID: Q87806

The information in this article applies to:


 * Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, and 2.5a
 * Microsoft FoxPro for Windows, versions 2.5 and 2.5a

SUMMARY
This article provides additional information about the SAVE and NOCLEAR clauses of the BROWSE command.

SAVE Clause
When used with BROWSE in command mode (in other words, when BROWSE is issued from the Command window), the SAVE clause has no effect because BROWSE SAVE is always the default in interactive mode.

However, in a program, using SAVE with the BROWSE command keeps the specified Browse window open, active, and visible. The application can reuse the window after the user has cycled through other open windows using keyboard commands or clicked other windows using the mouse.

To deactivate or close a Browse window opened with BROWSE SAVE, use any one of the techniques below:


 * Press the ESC key.
 * Press CTRL+W.
 * Press CTRL+Q.
 * Choose the Close box.
 * From the File menu, choose Close.
 * Close the database.

NOCLEAR Clause
If the BROWSE command includes the NOCLEAR clause, the following situation occurs: when the Browse window is closed using one of the techniques above, an image of the window in its final state (prior to its closing) is transferred to the current output window. If no output window is active, the image is transferred to the background screen.

This image is for display only and does not represent an active Browse window. To remove this image, use the CLEAR command.

A BROWSE command can include both SAVE and NOCLEAR clauses.