Solved

Adding to multi-values

Posted on 1998-12-08
3
185 Views
Last Modified: 2013-12-18
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
Comment
Question by:IsleOfView
  • 2
3 Comments
 
LVL 1

Expert Comment

by:ChrisD
ID: 1117773
No, but I like Piers Anthony Novels.
0
 

Expert Comment

by:mkthakur
ID: 1117774
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
 

Accepted Solution

by:
mkthakur earned 50 total points
ID: 1117775
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question