Multi-Value Field

Hello, I’m having an issue with grabbing all of the choices in a mult-value (checkbox) field. My code grabs the first value but not all of the values a user could choose separated by a comma.

MultiCompany = doc.GetItemValue(“Company”)

Forall m In MultiCompany

Call rt.AppendText(doc.Company(m))

End Forall

Thanks in advance for any help offered

Subject: That’s not how it works

The doc.field only returns what IS selected, not what COULD BE selected

The only way around is to have a multi-value field that contains all the possible values (generated by formula if necessary) and use that to populate the selection

Then you can refer to that field to find all the possible values