Microsoft KB Archive/119695

{| = FIX: ON ERROR Routine Causes "Feature Not Available" Message =
 * width="100%"|

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.

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 Version          : 2.50 2.50a 2.50b 2.60 | 2.50b 2. Platform         : MACINTOSH WINDOWS Solution Type    : kbfix
 * }