R rishi_375 Registered User. Local time Today, 13:36 Joined Dec 23, 2003 Messages 37 Jan 16, 2004 #1 Hi, I use combo box in my form. I want facility like drop down box had in Visual basic. I use unbound combo box. I want to show always first value to be selected. and user cannot write in combo box. Thanks.
Hi, I use combo box in my form. I want facility like drop down box had in Visual basic. I use unbound combo box. I want to show always first value to be selected. and user cannot write in combo box. Thanks.
Oldsoftboss AWF VIP Local time Today, 22:36 Joined Oct 28, 2001 Messages 2,499 Jan 16, 2004 #2 On the Load event of the form put Me.ComboboxName = 1 (Or what ever). As to not being able to type in the combo box, my sugestion would be to use a list box. Dave
On the Load event of the form put Me.ComboboxName = 1 (Or what ever). As to not being able to type in the combo box, my sugestion would be to use a list box. Dave
Mile-O Back once again... Local time Today, 13:36 Joined Dec 10, 2002 Messages 11,316 Jan 16, 2004 #3 In the form's OnLoad event: Code: Me.Combo = Me.Combo.ItemData(0)
Oldsoftboss AWF VIP Local time Today, 22:36 Joined Oct 28, 2001 Messages 2,499 Jan 16, 2004 #4 Where do you come up with little gems Mile ? The code samples you supply seems to have no reference in the help files but makes common sense when you see it. Makes me nervious to post replies as I know "Mile will correct me" Dave
Where do you come up with little gems Mile ? The code samples you supply seems to have no reference in the help files but makes common sense when you see it. Makes me nervious to post replies as I know "Mile will correct me" Dave
Mile-O Back once again... Local time Today, 13:36 Joined Dec 10, 2002 Messages 11,316 Jan 16, 2004 #5 Oldsoftboss said: Where do you come up with little gems Mile? Click to expand... Usually I've been in the same predicament; the rest is just lateral/logical thought.
Oldsoftboss said: Where do you come up with little gems Mile? Click to expand... Usually I've been in the same predicament; the rest is just lateral/logical thought.
R rishi_375 Registered User. Local time Today, 13:36 Joined Dec 23, 2003 Messages 37 Jan 16, 2004 #6 Thanks.
Oldsoftboss AWF VIP Local time Today, 22:36 Joined Oct 28, 2001 Messages 2,499 Jan 16, 2004 #7 the rest is just lateral/logical thought. Now I know where I fall down.