Best query solution for a form with a one to many results
Posted on 2012-12-28
I have a table which houses a number of cross reference entries. I am building a form to display this data. My table includes item_nr, vedor, v_item_nr. I have approximately 10 vendors to display.
For each item number, I need to display the cross reference information as
Selection, Vendor1, Vendor2, Vendor3, Vendor4, ect...
Item_nr, V_item_nr, V_item_nr, V_item_nr, V_item_nr
In cases where one Vendor has multiple items, I assume I'd have more then one record in the form.
Would I need to build 10 different queries and combine them based on my Item_nr selection or is there a better way to handle this?
My current form uses a query that takes the data from ten different vendor tables, however I was told this was an inefficent way of handling the data. I normalized it to one table, however now I am uncertain how to best capture the data.
I attached a screen shot of my current form. Thanks for whatever help is offered.