Jump to content
Sign in to follow this  
Schroeder

Using Error Messages

Recommended Posts

I have an order table and a customer table. Sometimes it makes more sense for the user to enter customer information in the order table and then add it to the customer table if it does not already exist. However, I don't want any duplication of customer names. How do I prevent that from happening?

My script does all of the copying and stuff and I can make the customer name unique so I get the confusing system message "revert field." But I know there has to be a better method.

I have tired using set error capture and get last message 504 but I must not be doing something right.

I hope someone can help.

Thanks a bunch.

Schroeder

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.