If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Combo Box Display
I'm looking for the way to display a list of 5 entrys from many (it's a year
display) in a combo box but have the default value be the third in the list when the drop down is selected, so that the previous years would be an easy selection. I have the List Rows set correctly but I don't know how to position the default value to not be top of the list. Thanks for any help. Stuart |
#2
|
|||
|
|||
Combo Box Display
Set the default value of the combo box to this:
=[NameOfComboBox].ItemData(2) -- Ken Snell MS ACCESS MVP "Stuart" wrote in message ... I'm looking for the way to display a list of 5 entrys from many (it's a year display) in a combo box but have the default value be the third in the list when the drop down is selected, so that the previous years would be an easy selection. I have the List Rows set correctly but I don't know how to position the default value to not be top of the list. Thanks for any help. Stuart |
#3
|
|||
|
|||
Combo Box Display
Hi Stuart,
I haven't looked for a better way so your mileage may vary ... With focus on your combobox you can use SendKeys to send a couple of DownArrows. There is a better and safer version of SendKeys at www.mvps.org/access HTH -- -Larry- -- "Stuart" wrote in message ... I'm looking for the way to display a list of 5 entrys from many (it's a year display) in a combo box but have the default value be the third in the list when the drop down is selected, so that the previous years would be an easy selection. I have the List Rows set correctly but I don't know how to position the default value to not be top of the list. Thanks for any help. Stuart |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating a combo box that will display relitive infromation based on another com | Larry | Using Forms | 1 | June 15th, 2004 04:57 PM |
Combo Box Problem | Charles | Using Forms | 0 | May 28th, 2004 09:15 PM |
Display column 4 in combo box AfterUpdate | Bradley C. Hammerstrom | New Users | 2 | May 27th, 2004 06:29 PM |
Requery Combobox | MJ | Running & Setting Up Queries | 7 | May 25th, 2004 11:01 AM |