This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to check a property value to make sure it is unique?

I want to define a property for an object and check values for duplicates. For example, in the property "foo", when I enter a value, I want it to warn me if some other object already has that same value for "foo".

I assume I'm to do this in the VBScript based property validator when defining the property, but I'm not sure how to access all the values for that property and check if it already exists or not.

I tried this with text type properties, but can it be done with "select from list" type properties as well?