D
Dennis
Hi,
I’m on Access via Office XP running XP Pro.
I have a combo box where I retrieve the property number, property address,
and property type using the following code:
Control name is cboPropNo and contains the property number.
strPropAddr = Me.cboPropNo.Column(1)
strPropType = Me.cboPropNo.Column(2)
I want to combine the address and type and put in back in column 1 so it
will display in the combo box.
I tried
Me.cboPropNo.Column(1) = strPropType & “ at “ & strPropAddr
When the above line executes, I receive the error message 424, Object
Required.
I have a couple of questions.
What do I need to do to correct this?
Can I change the Combo box to display another field other than column 1? If
so, how?
I resolved my immediate issue by concatenating the fields in my select query
for the combo box, but I would like to know the answers to the above
questions.
Thanks,
I’m on Access via Office XP running XP Pro.
I have a combo box where I retrieve the property number, property address,
and property type using the following code:
Control name is cboPropNo and contains the property number.
strPropAddr = Me.cboPropNo.Column(1)
strPropType = Me.cboPropNo.Column(2)
I want to combine the address and type and put in back in column 1 so it
will display in the combo box.
I tried
Me.cboPropNo.Column(1) = strPropType & “ at “ & strPropAddr
When the above line executes, I receive the error message 424, Object
Required.
I have a couple of questions.
What do I need to do to correct this?
Can I change the Combo box to display another field other than column 1? If
so, how?
I resolved my immediate issue by concatenating the fields in my select query
for the combo box, but I would like to know the answers to the above
questions.
Thanks,