B
Bryan Brassell
I have the following code:
Private Sub FAFA4_Change()
FAFA5.Value = ""
FAFA5.Requery
FAFA23.Value = ""
FAFA23.Requery
End Sub
The objects are ComboBoxes. My purpose is to have the
second box (FAFA5) popluated based on the choice in the
first box (FAFA4), and so on.
This code works with one major glitch - it applies itself
to all records rather than just the one that was changed.
Thus, if someone changes the choice in ComboBox FAFA4 for
record 2, all the other records also have their other
ComboBoxes cleared and requeried.
How to I modify the code to only apply to the ComboBoxes
for the record that was changed?
Thanks,
Bryan Brassell
Private Sub FAFA4_Change()
FAFA5.Value = ""
FAFA5.Requery
FAFA23.Value = ""
FAFA23.Requery
End Sub
The objects are ComboBoxes. My purpose is to have the
second box (FAFA5) popluated based on the choice in the
first box (FAFA4), and so on.
This code works with one major glitch - it applies itself
to all records rather than just the one that was changed.
Thus, if someone changes the choice in ComboBox FAFA4 for
record 2, all the other records also have their other
ComboBoxes cleared and requeried.
How to I modify the code to only apply to the ComboBoxes
for the record that was changed?
Thanks,
Bryan Brassell