himesly Posted January 25, 2006 Posted January 25, 2006 I need to be able to validate a field based on two others. I have a vendor database listing (in a portal) all of the items that my company buys from that vendor. The vendor database lists the vendor's name, and the company information. A portal displays all of the product information. In the product database, I have set the item number to be a unique field. I figured that way there would be no repeats in product entries. However, I have run into the problem that there are duplicate item numbers for different vendors. Meaning Sears and Kmart may have a product with the item number 11111. I need a way to keep the unique item number while makeing sure it is only being validated in one particular vendor and not over the entire list of vendors. I'm guessing that it will have to be some kind of calculation based on the vendor and item number but that is as far as I have gotten. Any help would be greatly appreciated. Jess
sbg2 Posted January 25, 2006 Posted January 25, 2006 (edited) Validate a new Text Calculation field to be unique = Product::ID_Vendor & "~" & Product::ItemNumber. Edited January 25, 2006 by Guest
comment Posted January 25, 2006 Posted January 25, 2006 Not a calculation field, but a text field with auto-entered calculation (replace existing value).
himesly Posted January 27, 2006 Author Posted January 27, 2006 Thanks for all of your help! It worked great. Jess
Recommended Posts
This topic is 6939 days old. Please don't post here. Open a new topic instead.
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 accountSign in
Already have an account? Sign in here.
Sign In Now