WaterTight
Programmer
I'm trying to write the core select from clauses for this access query and am missing something. I have:
I keep getting 'Syntax error in FROM clause'
I'm newer to Access and could easily write this query in SQL Server 2k:
I think part of my problem is that I taught myself (mostly through trial and error) how do join tables. Any advice on this query or links to something that could properly teach me how to join 3 or more tables would be greatly appreciated.
Code:
Select Distinct Patients.PatientID, Patients.FName, Patients.LName From ((Patients Left Join ON Patients.PatientID = Cases.PatientID) INNER Join Procedures ON Procedures.CaseID = Cases.CaseID) Left Join Payments ON Payments.PatientID = Patients.PatientID
I keep getting 'Syntax error in FROM clause'
I'm newer to Access and could easily write this query in SQL Server 2k:
Code:
Select Distinct a.PatientID, a.FName, a.LName From Patients a, Cases b, Procedures c, Payments d WHERE a.PatientID *= b.PatientID AND b.CaseID = c.CaseID AND a.PatientID *= d.PatientID
I think part of my problem is that I taught myself (mostly through trial and error) how do join tables. Any advice on this query or links to something that could properly teach me how to join 3 or more tables would be greatly appreciated.