FIX: Alter Table Add Primary Key Error Not TrappableID: Q134643 The information in this article applies to:
SYMPTOMSWhen an existing ON ERROR routine is in effect, the following command causes an error, but that error is not trapped by the error routine.
Instead running the error handler, Visual FoxPro presents a message box
titled "Microsoft Visual FoxPro" that contains the message "Primary key
already exists," and it offers the options of OK and Help.
The Help text topic states:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been corrected in Visual FoxPro 5.0 for Windows.
MORE INFORMATION
Steps to Reproduce Problem1. Write a simple program, such as the following program, to illustrate 2. Name this program Altertst and save it.
3. In the Command window, enter the DO Altertst command. 4. Press ENTER at each pause 5. After successfully observing the two error modes, press ESC to cancel. 6. In the Visual FoxPro default directory, you will find an error log 7. Rerun the program. When the Microsoft Visual FoxPro message box appears,
Additional query words: 5.00 3.00 3.00b handler
|
Last Reviewed: October 23, 1997 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |