No double attribute values

0
I'm working on a project where we use the attribute "LocationCode". How do I make sure when adding a new entity, or changing the LocationCode that the LocationCode is a new string, and you can't use an code that's already being used.
asked
1 answers
1

You could set a validation rule: https://docs.mendix.com/refguide/validation-rules/#221-rule

Just set it to unique and you will never have duplicate entries.

Regards,

Ronald

 

answered