In Access 97 to put a default value in a combo box I code the following:
Me!Cmb1.DefaultValue = Me!Cmb1.ItemData(0)
and this works fine.
However when converting this database to Access 2000 this no longer works and I cannot get a default value in unless I hard code one in.This is not appropiate as the records in the combo box change daily.
Can anyone help please.Thankyou.
Alan Bell
Me!Cmb1.DefaultValue = Me!Cmb1.ItemData(0)
and this works fine.
However when converting this database to Access 2000 this no longer works and I cannot get a default value in unless I hard code one in.This is not appropiate as the records in the combo box change daily.
Can anyone help please.Thankyou.
Alan Bell