Microsoft KB Archive/95726

= PRB: SHOW WINDOW  REFRESH with Browse Window =

Article ID: 95726

Article Last Modified on 12/1/2003

-

APPLIES TO


 * 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

-



This article was previously published under Q95726



SYMPTOMS
The error &quot;Window has not been defined&quot; occurs when the SHOW WINDOW REFRESH command is used to REFRESH a Browse window.



CAUSE
The window is being referenced by the incorrect name.



RESOLUTION
There are two ways to refresh a Browse window with the SHOW WINDOW REFRESH command. The first way is to use the TITLE name defined by the BROWSE command: USE customer BROWSE TITLE &quot;My Browse&quot; SHOW WINDOW &quot;My Browse&quot; 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 BROWSE 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. USE CUSTOMER DEFINE WINDOW browwind FROM 1,1 TO 23,79 TITLE &quot;Window Title&quot; ACTIVATE WINDOW browwind BROWSE IN WINDOW browwind TITLE &quot;Browse Title&quot; SHOW WINDOW &quot;Browse Title&quot; REFRESH  && Causes refresh

Additional query words: VFoxWin FoxDos FoxWin

Keywords: KB95726

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.