Solved

Adding to multi-values

Posted on 1998-12-08
3
178 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now