PDA

View Full Version : Solved: Displa first item in combo box



av8tordude
03-29-2010, 06:50 PM
Hi All,

I have this code in the frmActivate module and would like to display the first item when I call the form. The combo box properties is set to "fmStyleDropDownList" with "fmMatchEntryFirstLetter". Can someone assist.

Me.cboDec.List = Array("Standard M&IE Rates", "Transportation Rates")


thank you

Bob Phillips
03-30-2010, 02:05 AM
Me.cboDec.ListIndex = 0

av8tordude
03-30-2010, 06:11 AM
Thank you XLD. :friends: