• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 194
  • Last Modified:

Adding to multi-values

I am writing a Script that needs to update a multi-value field.  Does anyone have an example of a script that will efficiently update the field with *UNIQUE* values? (i.e., if a particular value in the field already exists, don't add it--otherwise, add it)
0
IsleOfView
Asked:
IsleOfView
  • 2
1 Solution
 
ChrisDCommented:
No, but I like Piers Anthony Novels.
0
 
mkthakurCommented:
Try using while loop.
Check if the value already exist if yes set flag.
Out of the loop check if the flag is set and then add the value to the field.
It's very simple - just 5-6 lines of code.
0
 
mkthakurCommented:
See my comments above.
Hope you would be able to do that.
Please contact me tmanoj@in.ibm.com if you can't do that.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now