I keep getting a 3079 error message "The specified field 'ta_People.DOB' could refer to more than one table listed in the FROM clause of your SQL statement". My SQL statement is
SELECT ta_People.Subject, ta_People.Generation, ta_People.DFA_Link, ta_People.DFA_Page, ta_People.DOB, ta_People.BirthLocation, ta_People.DOD, ta_People.DeathLocation, ta_People.Father, ta_People.Mother, ta_Spouse.SpouseName, ta_Spouse.[Spouse _qv], ta_Spouse.MarriageDate, ta_Spouse.MarriageLocation, ta_Spouse.MarriageStatus, ta_People.SubjectNotes, qu_IssueInfo.IssueName, qu_IssueInfo.DOB, qu_IssueInfo.DOD
FROM (ta_People LEFT JOIN ta_Spouse ON ta_People.Subject=ta_Spouse.Subject) LEFT JOIN qu_IssueInfo ON ta_Spouse.SpouseName=qu_IssueInfo.SpouseName
ORDER BY ta_People.Subject, ta_Spouse.MarriageDate;
If it helps, this query is based on the table ta_people and the query qu_IssueInfo. The query qu_IssueInfo is based on tables ta_people and ta_Issue.
The query itself runs fine but I get the error when I try to open the report based on that query.
Thanks