K
Kim M.
I am trying to set the default value for a combo box to the value of a public
string variable. (I have this code tied to the open event of the form.) But
keep getting error message. If I try to use a public integer variable, it
works fine, so I'm guessing it has something to do with the string v. number
thing. There is nothing about the combo box itself that would seem to
require a number, and the field in the underlying table that corresponds to
that combo box is a text field. When I looked at vbHelp for "DefaultValue"
it shows three sets of quotation marks around the string in the example...not
sure how this would translate when using a variable as the default value
instead.
Thanks for helping a relative newbie!
Kim M.
string variable. (I have this code tied to the open event of the form.) But
keep getting error message. If I try to use a public integer variable, it
works fine, so I'm guessing it has something to do with the string v. number
thing. There is nothing about the combo box itself that would seem to
require a number, and the field in the underlying table that corresponds to
that combo box is a text field. When I looked at vbHelp for "DefaultValue"
it shows three sets of quotation marks around the string in the example...not
sure how this would translate when using a variable as the default value
instead.
Thanks for helping a relative newbie!
Kim M.