N
NNlogistics
I have a form with 3 combo box's that can select a part id that will appear
in a locked text box. The combo box's use differnt variations of the same
query(Part numbers that start with 4 the next for P/n that start with 5 and
the last with 3. The problem of course is that after selecting any of the
combo's the Part number appears in all of the combo boxes.
I tried to use the 'after update' event to clear the other combo boxes.
Private Sub cmboSelectStopperProductCode_AfterUpdate()
Me.cmbSelectRolledCork3_ProductCode = Null
End Sub
I also tried "" for null
I get runtime error 21473552567 You tried to assign the null value to a
variable that is nota varient data type
whether the combos are bound or not I get the same problem.
I tried the suggestions mentioned in other threads
So in short I want to clear the 2 other combo boxes when I selct the 3rd
combo box. I hope I made that clear.
Thanks for any help
in a locked text box. The combo box's use differnt variations of the same
query(Part numbers that start with 4 the next for P/n that start with 5 and
the last with 3. The problem of course is that after selecting any of the
combo's the Part number appears in all of the combo boxes.
I tried to use the 'after update' event to clear the other combo boxes.
Private Sub cmboSelectStopperProductCode_AfterUpdate()
Me.cmbSelectRolledCork3_ProductCode = Null
End Sub
I also tried "" for null
I get runtime error 21473552567 You tried to assign the null value to a
variable that is nota varient data type
whether the combos are bound or not I get the same problem.
I tried the suggestions mentioned in other threads
So in short I want to clear the 2 other combo boxes when I selct the 3rd
combo box. I hope I made that clear.
Thanks for any help