Hi:
I have a table "Parts" that has Part number, Part description, and price. I have a form "Estimate" which I would like the user to be able to select the part number and have the form autofill the description and the price. I have part number, description, and price all as combo boxes. In the part description "row source" box, I have
(I have no idea if this is required.)
I also have:
in VBA. This works for the part description field, but for some reason I cannot get it to autofill the price option. Does anyone have any suggestions?
Thanks!
I have a table "Parts" that has Part number, Part description, and price. I have a form "Estimate" which I would like the user to be able to select the part number and have the form autofill the description and the price. I have part number, description, and price all as combo boxes. In the part description "row source" box, I have
Code:
SELECT [Parts].[PartNumber], [Parts].[PartDescription] FROM Parts ORDER BY [PartNumber];
(I have no idea if this is required.)
I also have:
Code:
Private Sub PartNumber1_AfterUpdate()
PartDescription1 = PartNumber1.Column(1)
Price1 = PartNumber1.Column(2)
End Sub
in VBA. This works for the part description field, but for some reason I cannot get it to autofill the price option. Does anyone have any suggestions?
Thanks!