Manipulate object(list) on a form

hi, i’m living in france, i’ve developed several applications on microsoft Visual Basic and Currently i have to develop some forms on lotus notes domino. i’m only a beginer, How do you add or remove items ( values ) from a list on a form (a graphical multiple choice list) with lotusscript? Actually the real problem i have is that when i save a document with a multiple choice list on it, i would like, when people open that document, only the checked values to be visible. Currently all the values are visible (even the unchecked) and i have to put the ducument on Edit mode to actually be able to scroll up/down the list, so it’s kind of annying.

i know in Visual Basic the syntax is

dim i as integer

for i=0 to ubound(list)

 if(list.list(i) not = vbchecked)

    list.removeitem i

 end if

next

i would really appreciate if somebody could help me

Subject: manipulate object(list) on a form

I think you may be better off creating another “display” field that contains only the values that were selected. Hide this field when in edit mode and hide the edit one when in display mode.

Hope that helps.