I would like to understand if triggered actions can be used to prohibit the insert or update of data if a record already exists. I have two fields in a table that need to be unique, ID and Month. How do I let the user know if a record already exists and to stop the insert or update? I understand I can use If/then logic to look for the existence of a records but how do properly convey that to the user? It would be nice to have an on screen message that say 'Data for <Month> and <ID> already exists'.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
SQLNikon
I would like to understand if triggered actions can be used to prohibit the insert or update of data if a record already exists. I have two fields in a table that need to be unique, ID and Month. How do I let the user know if a record already exists and to stop the insert or update? I understand I can use If/then logic to look for the existence of a records but how do properly convey that to the user? It would be nice to have an on screen message that say 'Data for <Month> and <ID> already exists'.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.