Aug 23, 2002 1 #1 sabavno Programmer Jul 25, 2002 381 CA How to get a value from a combo box to be a default when form is opening?
Aug 23, 2002 #2 jjonesal Programmer May 10, 2001 277 US Try using the DefaultValue property of the Combo box. Say for the Combo2 control, you could set the DefaultValue property to [Combo2].[ItemData](2) This would set the inital default as the third item in the list [Combo2].[ItemData](0) would set the initial value as the first item in the list. J. Jones jjones@cybrtyme.com Upvote 0 Downvote
Try using the DefaultValue property of the Combo box. Say for the Combo2 control, you could set the DefaultValue property to [Combo2].[ItemData](2) This would set the inital default as the third item in the list [Combo2].[ItemData](0) would set the initial value as the first item in the list. J. Jones jjones@cybrtyme.com
Aug 23, 2002 #3 jebry Programmer Aug 6, 2001 3,006 US Hi! Just set the value to the first value: YourComboBox.Value = YourComboBox.Column(0,0) The correct property may be Columns instead of Column, I never can remember. hth Jeff Bridgham bridgham@purdue.edu Upvote 0 Downvote
Hi! Just set the value to the first value: YourComboBox.Value = YourComboBox.Column(0,0) The correct property may be Columns instead of Column, I never can remember. hth Jeff Bridgham bridgham@purdue.edu