G
Guest
I have a Form & a Combo that populates a field automatically when a product
is selected. (If a Product is selected a Stock code for the Product is
populated in another column). The problem I have is the code shows on the
Form but does not store in the table.
Code for Combo Box:
Private Sub Product_AfterUpdate()
Me.txtStockCode = Me.cboProducts.Column(1)
End Sub
Control source for Stock code:
=[cboProducts].[Column](1)
is selected. (If a Product is selected a Stock code for the Product is
populated in another column). The problem I have is the code shows on the
Form but does not store in the table.
Code for Combo Box:
Private Sub Product_AfterUpdate()
Me.txtStockCode = Me.cboProducts.Column(1)
End Sub
Control source for Stock code:
=[cboProducts].[Column](1)