Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

default value for combo box?

Status
Not open for further replies.

shy216

Programmer
Jul 21, 2005
142
US
what value do i need to give if i want to set a default value in a combo box. for ie. lets say i only have 2 options. color red and blue. how do i set it so that when the form is opened and it automatically set it "red". so even when i goto input next record, it'll already have "red".. am i making sense???
 
Just enter a value in the Default Value field of the combo's property sheet...

Ken S.
 
well i know that but... i can't type "red"...
 
just type RED without the quotes, or if you are saving the values as 1 and 2, type 1
 
k.. that works.. but i still have to tab through it before it shows... is there a way i can make that w/o even having to click or tab through that txtbox?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top