Newbies ablarer Posted December 29, 2004 Newbies Posted December 29, 2004 I am a newbie and have some problems. I want to check, after I added a new record, if in all already existing records two fields a) "Product" *and* : "Seller" contain the same values as in the newly generated record in "Product *and* "Seller". If that is so I want that the field "version" in the new record goes up one number compared to the higest existing number of "version" in a already existing record with the same values in "Product" *and* : "Seller". Product, Seller and Version are number fields. E.g. Existing records: Record 1: Product = 1, Seller = 3, Version 1; Record 2: Product = 1, Seller = 4, Version 1; Record 3: Product = 1, Seller = 3, Version 2. New record. Record 4: Product = 1, Seller = 4, Version becomes automaticaly 2 because Product and seller is the same as in record 2. I hope it's clear want I want. Please could anyone help me?
aaa Posted December 29, 2004 Posted December 29, 2004 You must create new calc field Product_Seller=Product&"_"&Seller Then to build self relation on this field, let it be A Then in auto enter option for Version field you must specify calculation : "Version "&Count(A::Version)
Recommended Posts
This topic is 7269 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