Re: Adding values in a multi select list (230 Views)
Reply
Occasional Contributor
vj2012
Posts: 6
Registered: ‎03-20-2012
Message 1 of 2 (266 Views)

Adding values in a multi select list

Hi,

 

I am trying to add a value in a multiselect list box when changing a field.please check the below code..

 

varalm = "HPALM" ' i want this values needs to be appended in the multiselct values
     var_NewValue =  NewValue & ";" & varalm
  ' msgbox "MultiV.Text : " & MultiV.Text
   TestSet_Fields.Field("CY_USER_09").Value = var_NewValue
     msgbox "TestSet_Fields.Field(CY_USER_09).Value : " & TestSet_Fields.Field("CY_USER_09").Value
 

   TestSet_Fields.Field("CY_USER_09").Post()

 

what I want here is if the user change the values in the CY_USER_09 field then I need to append that "HPALM" to the list.So user may select more than one values here .It is a multiselct field and HPALM is already in the list.

HP Expert
Anton_Labachev
Posts: 241
Registered: ‎04-04-2012
Message 2 of 2 (230 Views)

Re: Adding values in a multi select list

Hello,

 

You can try with creating dependency lists.

 

You can find more in the following article:

http://support.openview.hp.com/selfsolve/document/KM00671946

 

I hope this helps.

Best regards,
Anton Labachev

HP Support
[If this post or any other post helps to resolve your issue or query, mark the thread as solved and give KUDOS to the author for their assistance. ]

If you haven’t tried it yet, come and join us in our entitled forums at http://h30499.www3.hp.com/t5/News/Support-Customer-Forums-now-available/m-p/5610181/message-uid/5610181#U5610181
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.