Getting value

Hi,

I have a question below which requires some guidance.

Supposedly, by replacing a value, we will use this sample : Set item1 = doc.ReplaceItemValue( “FTSize”&n, uidoc.fieldgettext(“Size”)), may I know what is the syntax of script command for retrieving value based on my variable n.

Please advise. Thanks

Kenny

Subject: Getting value

Kenny,

You would use

set item=doc.getfirstitem(“FTSize” & n)

if a single-value field, then value=item1.values(0)

if multi-value, loop through the values(x) array

HTH

Mike