Is it a Name filed limitation?

I am trying to create a document by LotusScript and It’s getting all the value from a dialogbox. In dialogbox I have a fieldname AList: Type-Name-Editable and Allow multiple value is enable for it. I am useing the code bellow to transfer namelist(Field BList also have Type-Name-Editable and Allow multiple value is enable).

doc.BList = uidoc.FieldGetText(“AList”)

It’s working fine when I select three name but it’s not working when I select more than three name. It’s also not follow the order the way I selected the names.

My question is :

  1. Why it’s happening?

  2. Is it because of Name filed limitation or code limitation?

  3. What is the maximum limit of name field.

Thanks.

Subject: Is it a Name filed limitation?

You should be aware that uidoc.FieldGetText will simply get the text representation of what the user has typed into the field. For example, if AList contains the values “Alan, Bill, Colin, Derek” then exactly that will be returned as ONE text value EVEN if you have selected multi-values for the field.

You would be better using backend methods e.g. targetdoc.BList = sourcedoc.AList rather than using the front-end uidoc methods.

Subject: RE: Is it a Name filed limitation?

Thanks Tom for your quick reply.

But in my case it’s not return all the values which I selected in Alist field. Also Alist field in a dialogbox and it’s not saveing the Alist field value.

Thanks again.