Default Value in Combo Box

xMax

Registered User.
Local time
Today, 16:48
Joined
Aug 7, 2006
Messages
35
When I open up a form the default value of the combo box is null but I need it to be set to the first value of a certain table. How do I do this?


EX:

Table HellMonsters:

Satyr
Demon


Form AddAttack

ComboBox Monster: (set to Satyr or something else if it comes before Satyr in the table)
 
Try "=[cboMyComboBoxName].[ItemData](0)" in the Default Value property of your combo box.

There's always the trick of figuring out what the "first" value in a table is. I'm sure you've got that sorted in your combo box query, right?
 

Users who are viewing this thread

Back
Top Bottom