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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

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