I’ve a text field which allowed multiple values. When I called the text value in notes client, it works fine. Anyhow when i called in web-based, it returns whole string value. The sample program is shown as below,
in notes client,
category field = a1, a2
print currentdoc.category(0)
print currentdoc.category(1)
result :
a1
a2
in web-based,
print currentdoc.category(0)
print currentdoc.category(1) ‘unable to display cos’ out of range
result:
a1, a2
May I know how to resolve the above problem? How to read multiple values from a text field in web?
Appreciate for your prompt advise. Many thanks ahead.
Although you only showed us a snippet of your code, my bet is that you are not getting multiple values into the field. That has to be the case, because everything is in one value (i.e. in category(0). What delimiters do you have defined for the field? When you look at the properties of the field in a submitted document, does it have multiple values?
ya, the text field multiple values is ticked. Actually it works fine in notes client, but whe i call the value in webquerysave agent, it display whole string. My delimiter is coma.