I am having difficulty getting a sql statement working that will display data from three tables. I have tables FULLGROWER, FULLPACKER and FULLMARKETER. All are joined by a MEMBER_ID column.
My current sql statement:
SELECT BUSINESS.*, FULLGROWER.Farm_No, FULLGROWER.District AS District_FULLGROWER, FULL_MARKETER.[Business Name], FULLPACKER.[Business Name]
FROM ((BUSINESS LEFT JOIN FULLMARKETER ON BUSINESS.Member_ID = FULLMARKETER.MEMBER_ID) INNER JOIN FULLGROWER ON BUSINESS.Member_ID = FULLGROWER.MEMBER_ID) LEFT JOIN FULLPACKER ON BUSINESS.Member_ID = FULLPACKER.MEMBER_ID;
The sql statement is not working like I need it to be, since if a record only exists in the FULLPACKER table, the form doesn't load. Nor will it load if only a record exists in the FULLMARKETER table.
What I need it to do is this: a record could exist in one, two or all three tables or any combination of the three.
Can anyone provide me with the correct statement?
CementCarver