Manage Learn to apply best practices and optimize your operations.

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

Dig Deeper on LotusScript



  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...