BUG: SHOW WINDOW <name> REFRESH in BROWSE VALID Does Not Work (136557)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q136557 SYMPTOMS
Using a BROWSE command that contains a VALID clause to refresh the browse
upon changing the value in an indexed field does not work.
WORKAROUND
The user-defined function or procedure referenced in the VALID clause can
force a refresh by following these steps in this order:
- Refresh the title of the window.
- Refresh the name of the window.
- Refresh the title of the window a second time.
To demonstrate this workaround, modify the 'freshen' procedure in the code
listed in the "More Information" section of this article to this:
PROCEDURE freshen
SHOW WINDOW customer REFRESH
SHOW WINDOW vfpbrows REFRESH
SHOW WINDOW customer REFRESH
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. We are researching this problem
and will post new information here in the Microsoft Knowledge Base as it
becomes available.
Modification Type: | Major | Last Reviewed: | 5/7/2003 |
---|
Keywords: | kbBug KB136557 |
---|
|