Hi Guys
I have this code
Private Sub CboStock_Change()
Me.TxtProductD.Value = Me.CboStock.Column(1)
Me.TxtPackQ.Value = Me.CboStock.Column(2)
Me.TxtPrice.Value = Me.CboStock.Column(3)
Me.TxtVAT_.Value = Me.CboStock.Column(4)
End Sub
and the table query:=
SELECT [Stock Codes].[Product Code], [Stock Codes].[Product Description], [Stock Codes].[Pack Size], [Stock Codes].[Sell Price]
FROM [Stock Codes];
When I select the product code (CboStock), the product description (Me.TxtProductD.Value = Me.CboStock.Column(1)) and pack size (Me.TxtPackQ.Value = Me.CboStock.Column(2)) auto populate but the last two the price and VAT are not populating, Any ideas why?
Thanks