Here is the code I'm running into an error with:
FROM
IndexPID
INNER JOIN Demographics ON
IndexPID.NDoc_Number = Demographics.NDoc_Number,
PatientSupply
INNER JOIN Demographics ON
PatientSupply.NDocNum = Demographics.NDoc_Number
I also tried it this way:
FROM
IndexPID, PatientSupply
INNER JOIN Demographics ON
IndexPID.NDoc_Number = Demographics.NDoc_Number
INNER JOIN Demographics ON
PatientSupply.NDocNum = Demographics.NDoc_Number
But no cigar. Anybody tell me what I'm doing wrong?