FIX: ON ERROR Routine Causes "Feature Not Available" Message

Last reviewed: October 20, 1997
Article ID: Q119695
2.50 2.50a 2.50b 2.60 | 2.50b 2.50c
WINDOWS               | MACINTOSH
kbprg kbfixlist kbbuglist

The information in this article applies to:

  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b, 2.6
  • Microsoft FoxPro for Macintosh, versions 2.5b, 2.5c

SYMPTOMS

When you are using an ON ERROR routine to trap disk errors, the "Feature Not Available" error message occurs on the string assignment subsequent to a character that is greater than 76 spaces.

STATUS

Microsoft has confirmed this problem in FoxPro 2.5, 2.5a, 2.5b, and 2.6 for Windows and in FoxPro 2.5b and 2.5c for Macintosh. This problem was corrected in FoxPro 2.6a for Windows and in FoxPro 2.6a for Macintosh.

MORE INFORMATION

Steps to Reproduce Problem

Run the following program with no floppy disk in drive A. When you are prompted to insert a floppy disk in drive A, press ENTER.

   ON ERROR DO errhandl
   USE customer
   WAIT WINDOW "Please insert floppy in drive A:"
   IF FILE("A:customer.dbf")
      APPEND FROM A:customer
   ELSE
      WAIT WINDOW "Unable to process request at this time"
   ENDIF

   ON ERROR
   mtest = SPACE(77)

   PROCEDURE errhandl
   IF ERROR() = 1002
      WAIT WINDOW "An IO operation failure has occurred"
   ENDIF
   RETURN

NOTE: The "Feature Not Available" error message will appear only when the network drivers are loaded. This problem is known to occur with Windows versions 3.1 and 3.11 for Workgroups.


Additional reference words: FoxMac FoxWin buglist2.50a
buglist2.50b
buglist2.60 fixlist2.60a 2.50 2.50a 2.50b 2.60 2.60a Novell
novelbuglist2.50
KBCategory: kbprg kbfixlist kbbuglist
KBSubcategory: FxnetworkNetware
Keywords : FxnetworkNetware kbbuglist kbfixlist kbprg
Version : 2.50 2.50a 2.50b 2.60 | 2.50b 2.
Platform : MACINTOSH WINDOWS
Solution Type : kbfix


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