Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using the Primary Key
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Using the Primary Key
Miscellaneous
Thread ID:
00384624
Message ID:
00384624
Views:
68
I'm writing what should be a simple form to allow users to enter a user id, password, etc. Since the user id is essentially the primary key, and if I set the key to primary and a duplicate ID is added, how do I trap that error msg? Right now when the user presses OK and I do a tableupdate I get the message "Uniqueness of ID is violated." What I'd rather say is this ID is already in use...bla bla bla.
Marvin Masson
Next
Reply
Map
View

Click here to load this message in the networking platform