PRB: SHOW WINDOW <Window Name> REFRESH with Browse Window

Article translations Article translations
Article ID: 95726 - View products that this article applies to.
This article was previously published under Q95726
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all


The error "Window <window name> has not been defined" occurs when the SHOW WINDOW <window name> REFRESH command is used to REFRESH a Browse window.


The window is being referenced by the incorrect name.


There are two ways to refresh a Browse window with the SHOW WINDOW <window name> REFRESH command. The first way is to use the TITLE name defined by the BROWSE command:
   USE customer
   BROWSE TITLE "My Browse"
   SHOW WINDOW "My Browse" REFRESH  && Causes refresh
If the Browse window was not defined with a TITLE, you can use the name of the database being browsed as the window name:
   USE customer
   SHOW WINDOW customer REFRESH  && Causes refresh
It does not matter how the BROWSE command was issued (whether in the BROWSE, BROWSE WINDOW, or BROWSE IN WINDOW commands) or if the window's title is the one that appears on the screen.
   DEFINE WINDOW browwind FROM 1,1 TO 23,79 TITLE "Window Title"
   BROWSE IN WINDOW browwind TITLE "Browse Title"
   SHOW WINDOW "Browse Title" REFRESH   && Causes refresh


Article ID: 95726 - Last Review: February 28, 2014 - Revision: 2.1
  • Microsoft Visual FoxPro 3.0 Standard Edition
  • Microsoft FoxPro 2.5b
  • Microsoft FoxPro 2.5a
  • Microsoft FoxPro 2.0
  • Microsoft FoxPro 2.5b for MS-DOS
  • Microsoft FoxPro 2.5a
kbnosurvey kbarchive KB95726

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from