FIX: ON ERROR Routine Causes "Feature Not Available" MessageLast reviewed: October 20, 1997Article ID: Q119695 |
2.50 2.50a 2.50b 2.60 | 2.50b 2.50c
WINDOWS | MACINTOSHkbprg kbfixlist kbbuglist The information in this article applies to:
SYMPTOMSWhen 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.
STATUSMicrosoft 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 ProblemRun 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 RETURNNOTE: 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
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |