L
Lana
Hi all,
I want my combo37 to offer me values as follows (every time only 3 rows, but
values depend on what i choose from other 2 combos: combo21 & ToPerson1)
Me.Combo37.[ItemData](0) = Me.ToPerson1.Column(4)
Me.Combo37.[ItemData](1) = Me.ToPerson1.Column(5)
Me.Combo37.[ItemData](2) = Me.Combo21.Column(3) + Me.Combo21.Column(4) +
Me.Combo21.Column(5)
I have placed this code on AfterUpdate event of Combo ToPerson1. (which is
re-queried each time when Combo21 is updated)
However i was probably wrong as i get a message "run-time error 424: Object
Required" when trying to update the Combo ToPerson1.
Can anybody give me a hint where i was wrong, please?
Thank you.
Lana
I want my combo37 to offer me values as follows (every time only 3 rows, but
values depend on what i choose from other 2 combos: combo21 & ToPerson1)
Me.Combo37.[ItemData](0) = Me.ToPerson1.Column(4)
Me.Combo37.[ItemData](1) = Me.ToPerson1.Column(5)
Me.Combo37.[ItemData](2) = Me.Combo21.Column(3) + Me.Combo21.Column(4) +
Me.Combo21.Column(5)
I have placed this code on AfterUpdate event of Combo ToPerson1. (which is
re-queried each time when Combo21 is updated)
However i was probably wrong as i get a message "run-time error 424: Object
Required" when trying to update the Combo ToPerson1.
Can anybody give me a hint where i was wrong, please?
Thank you.
Lana