I've created a query based on 3 related tables. The goal is to create a form based on the query to view and add records.
I know my query is not correct because when I run the query, I can see the record however, I cannot add a record.
Can someone explain the theory behind the query I am trying to create.
Below is a screen shot of the relationship and the SQL is below that.
Much appreciated.
I know my query is not correct because when I run the query, I can see the record however, I cannot add a record.
Can someone explain the theory behind the query I am trying to create.
Below is a screen shot of the relationship and the SQL is below that.
Much appreciated.
SQL:
SELECT tbl_Contacts.*, tbl_Locations.*, tbl_Vendors.*
FROM (tbl_Vendors INNER JOIN tbl_Contacts ON tbl_Vendors.VendorID = tbl_Contacts.VendorID) INNER JOIN tbl_Locations ON tbl_Vendors.VendorID = tbl_Locations.VendorID;