MParker Posted October 7, 2009 Share Posted October 7, 2009 ok, so here's my situation. i've got a field that holds multiple id numbers separated by a comma. example: (yes, the commas have to be where they are) but the problem is that i need to make sure that someone doesn't repeat a number that is already there...like this: how could i stop that from happening? Link to comment Share on other sites More sharing options...
Vaughan Posted October 7, 2009 Share Posted October 7, 2009 I'd convert the string to paragraph delimited, then use the UniqueValues() custom function to see how many unique value there are, and compare it to the number of entered values. Link to comment Share on other sites More sharing options...
MParker Posted October 7, 2009 Author Share Posted October 7, 2009 but is there a way to prevent it from happening other than just seeing that it does happen? Link to comment Share on other sites More sharing options...
Vaughan Posted October 7, 2009 Share Posted October 7, 2009 Use this calculation in the field validation. Link to comment Share on other sites More sharing options...
Lee Smith Posted October 8, 2009 Share Posted October 8, 2009 Hi MParker, Questions; Is this field the one where the data is being entered? Or, is it being used to show the result from other fields, such as from a checkbox. i.e. Concatenated in this one? Lee Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 5338 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