nickelsto Posted November 9, 2006 Posted November 9, 2006 I am looking for the method of creating a record that requires the data in two (or more) fields be unique. Thanks in advance.
nickelsto Posted November 9, 2006 Author Posted November 9, 2006 I appreciate your response. After reading through the threads it looks like this has been discussed quite at length. If I understand correctly, to make 3 fields validate to be unique I need to create a join table with a concatenated field of the three kf fields. The concatenated field needs to be unique and if a non-unique entry is made in the other table then an error warning would appear from the join table. Is this correct? Thanks again
comment Posted November 9, 2006 Posted November 9, 2006 I am afraid not. If you want to go with a concatenated field, you define it in the same table as your 3 fields. No join table or relationships required.
nickelsto Posted November 9, 2006 Author Posted November 9, 2006 (edited) oh, of course, that's it. Very simple. That should do it. Thank you Edit No, I already tried this a while back. You can't make a calculation field unique. So what am I missing? Edited November 9, 2006 by Guest
comment Posted November 10, 2006 Posted November 10, 2006 You are missing the part where I said: ... define a text field, set it to auto-enter a calculated value = CustID & "|" & GetAsNumber ( AppointmentDate ) & "|" & AppointmentTime Uncheck the "Do not replace existing value.." option. Set the field's validation to 'Unique value'.
Recommended Posts
This topic is 6649 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