Lotus script

HI, ALL

can any body help me ,How to call 5th value in field (this field is multi value field) by using lotus script not use in formula language.

hrep me,

Regerds

devi

Subject: lotus script

HEY, YOU, value number 5…come over here, NOW!

Oh, that’s not what you meant by ‘call’…sorry. How about:

Doc.FieldName(4)

HTH

Doug

Subject: RE: lotus script

thanks for giving reply ,but i am not understanding ur code.

actual my question is that field is multi value field(EX:1,2,3,4) in that example i can handle 3rd value using script

Subject: RE: lotus script

Your field name is “Ex”. It has four values: 1, 2, 3, 4 .

They are in a NotesItem in a NotesDocument.

The NotesItem has a property “Values”

It is an array, dimensioned (0 to 3).

Values(0) is 1, Values(1) is 2, Values(2) is 3, Values(3) is 4.

but in LS “shorthand” if doc is your NotesDocument object, you can just code

doc.Ex(2)

and that will refer to Values(2) of the NotesItem, which equals 3.