Jump to content

This topic is 6785 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

Posted (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 by Guest
Posted

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'.

This topic is 6785 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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