Checkbox field LotusScript

30 pts.
Tags:
CheckBox
LotusScript
Hello, I have another question about a checkbox field, it's about how can I programmatically check some values of that checkbox. Is there is a way? Because if I want to check multiple values, and I try it with uidoc.FieldSetText("mycheckbox","val1"), when I add another call to that set text: uidoc.FieldSetText("mycheckbox","val2"), it overwrites my values, and it remains only the second val selected :(


Software/Hardware used:
Lotus Notes Developement
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Like I said in your prior post, the values are stored as a multi-valued field/array.  So, you want something like

Call item.AppendToTextList( “the value you want to add” )

or, to steal from an example in the Designer Help file,

newVals( 1 ) = “Girls”
newVals( 2 ) = “Boys”
newVals( 3 ) = “Toys”
Call item.AppendToTextList( newVals
)

 

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Sorinnn
    I have thought that AppendToTextList, would add another option to that array. I have tested it and work it the way I want to. Thanks, and sorry for silly questions :)
    30 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: