Listbox

I have a listbox field on the web form. On action button an agent will called up and in agent it sets the value to that listbox field.

I am not able to set the value to listbox field. Please suggest me how to do that.

Thanks for help

Subject: Listbox

Can you show the code which you have written on agent.Or this you can do directly by using “@dbcolumn” funtion in field properties 2nd tab, choises.Or using notesView.Column( columnNumber& ) method in agent.

Subject: RE: Listbox

I have written this code

Call olddoc.ReplaceItemValue(“profession_temp”, “A”)

Call olddoc.Save( True, True )

I am working at web form.

Subject: RE: Listbox

First of all @dbcolumn works on web.If you are using any view then you need to refresh the view and ui document then new value will appear.

Subject: RE: Listbox

Suppor list box contains values

A

B

C

Now I have to write a lotuscript code which will select B and C options and save it at the form. So that when next time user opens the form then B and C options will be selected.