Access field array elements in uidocument

Does anyone know of a method to access field contents as array elements in the uidocument as you can in a notesdocument?

Subject: Access field array elements in uidocument

dim ws as new notesuiworkspacedim uidoc as notesuidocument

dim doc as notesdocument

set uidoc=ws.currentdocument

set doc=uidoc.document

For i=0 to ubound(doc.urfieldname)

next

Thanks

Jana

http://www.dominodesigner.com

Subject: Access field array elements in uidocument

You’ll have to use the underlying document, as Johon stated.

The UI Fields are strictly Text objects, so a “multiple value” field is just a single string with delimiters (commas, semi-colons, etc.) If you want to work with those fields, you’ll need to separate the values.