Help Please with SQL yet again

T

TeeSee

Contacts is a subform within Company. I am trying to get just the
contacts to show in the combo that are employed by the company on the
main form. I think I need two joins but can't see how I can utilize
the two ONs
Could someone please put me straight. Thanks

SELECT tblContacts.pkContactID,
tblContacts.txtLastName,tblCompany.pkCompanyID,tblLINKCompanyContacts.fpkCompanyID
FROM tblContacts( INNER JOIN tblCompany( INNER JOIN
tblLINKCompanyContacts ON
tblLINKCompanyContacts.fpkCompanyID=tblCompany.pkCompanyID )) ORDER BY
tblContacts.txtLastName;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top