[RESOLVED] Combobox default value
I have a combobox which contains a sample of names selected from a table.
Currently the default name displayed in the box is the 1st name found in the table. What I would like to do is display the name of the person who is doing the selection as the default. The name is stored in a public variable 'PubName' and I do not want the user to be able to type into the combobox themselves.
Is this possible?
Re: Combobox default value
some thing like
vb Code:
me.combobox1.text = "Pubname"
provided
(1) what is the drop down style of your combobox ( for example if it is dropdownlist some condition applies, that pubname should be avaialble in the combobox list)
Re: Combobox default value
Thanks - OK I was definitely trying to over complicate that one. Did not need the ""s thou.