FIX: Alter Table Add Primary Key Error Not TrappableLast reviewed: October 20, 1997Article ID: 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.
ALTER TABLE <tablename> ADD PRIMARY KEY <existing key tag>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:
Primary key already exists. (1883) 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 Problem
|
Additional query words: 5.00 3.00 3.00b handler
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |