BUG: FoxPro Hangs If GOMONTH() Used on Blank Date & Year >9999

Last reviewed: June 27, 1995
Article ID: Q123154
The information in this article applies to:
  • Microsoft FoxPro for Windows, version 2.6a

SYMPTOMS

FoxPro will stop responding (hang) if you use the GOMONTH() function to return a date greater than 9999 with an empty date field. In addition, after you press CTRL+ALT+DEL to quit FoxPro and go back to Windows, you will see the following error message and Windows will quit:

   EMM386 has detected Error #6 in an application ...

RESOLUTION

Either trap for blank date fields passed to GOMONTH() or trap for values that produce return values greater than 9999.

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. In the Command window type this:

    ? GOMONTH( { / / }, 1994*12 )

  2. FoxPro will stop responding

  3. Press CTRL+ALT+DEL. Now the EMM386 Error message appears.


Additional reference words: FoxWin 2.60a buglist2.60a
KBCategory: kbprg kbbuglist
KBSubcategory: FxprgGeneral


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: June 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.