Microsoft KB Archive/129922

= BUG: Error Occurs When Stepping through BROWSE FOR UDF Code =

Article ID: 129922

Article Last Modified on 5/6/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition
 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition
 * Microsoft FoxPro 2.6a Standard Edition

-



This article was previously published under Q129922



SYMPTOMS
A BROWSE command contains a FOR condition that calls a User Defined Function. Running the code through the Debugger and closing the BROWSE window while the code is executing, yields an Exception Error in Windows and Windows for Workgroups, an Unrecoverable Application Error (UAE) in Windows NT, or an Illegal Operation Error Windows 95.



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.



Steps to Reproduce Problem
 Start Visual FoxPro for Windows.  Create a program that contains the following code: USE SYS(2004)+"SAMPLES\DATA\CUSTOMER" && Sample table BROWSE FOR GetForCond

PROCEDURE GetForCond RETURN UPPER(ALLTRIM(country))="BRAZIL"  Close and save the program. Activate the Debugger window. Select the program from the Debugger's Trace Debug menu pad, and open the program with the DO menu bar command. Select the "Step Into" icon, or press the F8 key to step through the codeClick the STEP option.</li> When the BROWSE window displays, close the window. Note that it might take a few minutes to close the BROWSE window.</li> Click the "Step Into" icon or press the F8 keySTEP button. The error occurs.</li></ol>

Additional query words: kbvfp500 kbvfp600

Keywords: kbbug KB129922

-

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

© Microsoft Corporation. All rights reserved.