SAVE and NOCLEAR Clauses for BROWSE

Last reviewed: June 27, 1995
Article 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.

MORE INFORMATION

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.

REFERENCES

"Commands & Functions," May 1991 edition, pages C3-164 through C3-177


Additional reference words: FoxWin FoxWin FoxDos 2.00 2.50 2.50a
KBCategory: kbprg
KBSubcategory: FxprgBrowse


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.