Wednesday, July 25, 2007

Default values for combo boxes

Did you know that you can make the first row of data in a combo box, the default value for that combo box? Open the form that the combo box is on in design mode and select properties. Find the default value property and type the following into the default value.

=[cboCustomer].[ItemData](0)

Please replace the name of your combo box with [cboCustomer]. Leave the term [itemData] as is

No comments: