Hello everyone
I have a form in my database that allows the user to alter the records in the underlying table. In this form I have two cascading combo boxes, I have this vba code in the After Update event in the first combo box:
Private Sub cmbBox1_AfterUpdate()
Me.cmbBox2.Requery
Me. cmbBox2 = Null
End Sub
This code runs a requery on the second combo box when the user changes the first combo box and then set the second combo box to null to force the user to update it. What happens is that the second combo box is set to null but the underlying field retains its pervious value unless the user updates the second combo box. What I want is that the underlying field of the second combo box is set to null, not only the combo box so that the user is forced to update it.