Remove Value From A Multi Value Item(Corrected Ver.)
My previous tip will not work.
A Review for: Extract Items in an Array
the Simpler way for (Extract Items in an Array) of Mr. Thejaswi Gurumurthy and
the Review of Mr. Jeff Cassens, It is better to name it Remove Value from a
multi value Item.
Sub RemoveValue(Item As Notesitem, ValueToRemove As Variant)
dim Arrayv ( ) as Variant
dim x%
'
x = 0
Forall v In Item.Values
If v <> ValueToRemove Then
Redim Preserve Arrayv (x)
Arrayv(x) = v
x = x +1
End If
End Forall
Item.Values = Arrayv
End Sub
Sirry Hboos
This was first published in November 2000
Disclaimer:
Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.