C
CJ
Hi:
I have Access 2003
I have a combo box on a subform that shows an inventory of in stock items,
Model, Serial Number and InStock (Y/N). Only items that are in stock show
up.
When a user chooses an item, the subform populates with the item selected.
(So far, no problem).
What I need to happen is this:
When the user selects the product and then selects the Y/N box on the
subform and changes it to No, then I need the combo box for the next record
to not show the item as still being in stock. I have tried all kinds of
events for the Yes/No box and the subform with no success.
This is what I have at the moment:
Private Sub ysnInStock_AfterUpdate()
Me.cmbHeaterLookup.Requery
End Sub
Could sombody please correct this for me?
Thanks in Advance
I have Access 2003
I have a combo box on a subform that shows an inventory of in stock items,
Model, Serial Number and InStock (Y/N). Only items that are in stock show
up.
When a user chooses an item, the subform populates with the item selected.
(So far, no problem).
What I need to happen is this:
When the user selects the product and then selects the Y/N box on the
subform and changes it to No, then I need the combo box for the next record
to not show the item as still being in stock. I have tried all kinds of
events for the Yes/No box and the subform with no success.
This is what I have at the moment:
Private Sub ysnInStock_AfterUpdate()
Me.cmbHeaterLookup.Requery
End Sub
Could sombody please correct this for me?
Thanks in Advance