BUG: Error Occurs When Stepping through BROWSE FOR UDF() Code

Last reviewed: May 6, 1997
Article ID: Q129922
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b, 5.0, 5.0a
  • Microsoft FoxPro for Windows, version 2.6a

SYMPTOMS

A BROWSE command contains a FOR condition that calls a User Defined Function. Running the code through the Trace window 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.

MORE INFORMATION

Steps to Reproduce Problem

  1. Start Visual FoxPro for Windows.

  2. 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"

  3. Close and save the program.

  4. Activate the TRACE window.

  5. From the Trace menu, select DO <program>.

  6. Click the STEP option.

  7. When the BROWSE window is displayed, close the window.

  8. Click the STEP button. The error is displayed.


Keywords : buglist3.00 buglist3.00b buglist5.00 FxprgBrowse vfpbug5.0a kbbuglist
Version : 3.0 3.0b 5.0 5.0a
Platform : WINDOWS
Issue type : kbbug


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: May 6, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.