I use an Access database (obviously since I am here). However, I use Visual Basic for all of my forms, applications and code to work with the database. So I have two tables with many-to-many relationships using a junction table to link them:
So what I want to do is this. I have a form that is displaying a single record from tblItemMaster (a parts table). Additionally, I have a button on the form that when clicked should display a list of all records from tblSourceMaster (a vendor/supplier table) that is related to the displayed record from tblItemMaster. The junction table lnkItemVendor would be the bridge to achieve this.
I am guessing that it requires a query written into the Button_Click() event to achieve this. However, my query skills are not even close to the level needed to do this. So am I right that a SQL query is the tool and if so how does one setup a SQL query that uses the junction table to pull records from tblSourceMaster? Or could you point me to the information I could research to figure this out?