I had posted a similar problem to this prior but I have changed all the parameters for what I’m doing. So here goes.
I have a form, where in, I want to be able to enter Vendor name, Item No, Item description, date purchased, Qty and Price.
I want to populate the first three fields from a Table (Item Maser List) which contains only those three values, using a combo box. The row source for the combo box is [item Master List].[Name],[Item Master List].[item no],[Item Master List].[description] Since the only thing in the Item Master List table that is unique to each record is the Item No, I made it the primary key for the table.
The control source for the combo box is Name and this fills in just fine. The control source for Item No is =[combo23].column(1) and the control source for the description is =[combo23].column(2) When I choose the name from the list in the combo box the 2 other fields populate with the first occurrence of the name in the table rather than the one I choose. For example… I have 2 entries for the name Sally’s Bird Baths, one with item no 1234 and description BATHS. the other with Sally’s Bird Baths, item no 4321 and Pedestals. Even though I choose the second entry from the table I always get the first entry from the table populating the fields.
I know this shouldn’t be a big problem but I’m not that good with this, and I’ve searched everywhere and tried everything I’ve found to no avail. What am I doing wrong?
I have a form, where in, I want to be able to enter Vendor name, Item No, Item description, date purchased, Qty and Price.
I want to populate the first three fields from a Table (Item Maser List) which contains only those three values, using a combo box. The row source for the combo box is [item Master List].[Name],[Item Master List].[item no],[Item Master List].[description] Since the only thing in the Item Master List table that is unique to each record is the Item No, I made it the primary key for the table.
The control source for the combo box is Name and this fills in just fine. The control source for Item No is =[combo23].column(1) and the control source for the description is =[combo23].column(2) When I choose the name from the list in the combo box the 2 other fields populate with the first occurrence of the name in the table rather than the one I choose. For example… I have 2 entries for the name Sally’s Bird Baths, one with item no 1234 and description BATHS. the other with Sally’s Bird Baths, item no 4321 and Pedestals. Even though I choose the second entry from the table I always get the first entry from the table populating the fields.
I know this shouldn’t be a big problem but I’m not that good with this, and I’ve searched everywhere and tried everything I’ve found to no avail. What am I doing wrong?