View Single Post
  #1 (permalink)  
Old May 23rd, 2007, 01:27 PM
lisabb lisabb is offline
Authorized User
Join Date: May 2007
Location: Fairfax, va, USA.
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default dealing with drop downs

I have a drop down list that is populated by a sql query. I either need to be able to add a blank value to the drop down list or be able to disable it so that its value isn't sent to my search procedure. When I select a certain radio button, I set this particular drop down list to enable = False in my code. This does not allow the user to click on the dropdown but the value that it is sitting on (in this case 100), still gets sent to my procedure. I would like to add a blank value (so it is blank, 100, 200, etc and the blank is the one currently in view). If I can't do that, is it possible to set the value to blank/nothing in the VB code?

Reply With Quote