Ok i was running this in SQl Server, SQL Query Analyzer and it works perfectly. It joins the tables and columns exactly how i want them to. But whenever i transfer over to Microsoft Access and try running it, That error i mentioned before comes up. So, i thougth maybe i cant use right and left joins, but since you say i can. here is my SQL....
SELECT DISTINCT member.Member_ID, company.Company_Name, pm_project.Project_ID, te_period.Date_Start, te_period.Date_End, time_entry.hours_actual, te_charge_code.description
From te_period, time_sheet, member, company, pm_project right join time_entry on pm_project.pm_project_recid = time_entry.pm_project_recid, te_charge_code
Where te_period.te_period_recid = time_sheet.te_period_recid and time_sheet.time_sheet_recid = time_entry.time_sheet_recid and company.company_recid = time_entry.company_recid and member.member_recid = time_entry.member_recid and te_charge_code.te_charge_code_recid = time_entry.te_charge_code_recid and pm_project.pm_project_recid = time_entry.pm_project_recid
Union
SELECT DISTINCT member.Member_ID, company.Company_Name, pm_project.Project_ID, te_period.Date_Start, te_period.Date_End, time_entry.hours_actual, te_charge_code.description
From te_period, time_sheet, pm_project, member, company, time_entry left Join te_charge_code on time_entry.te_charge_code_recid = te_charge_code.te_charge_code_recid
Where te_period.te_period_recid = time_sheet.te_period_recid and time_sheet.time_sheet_recid = time_entry.time_sheet_recid and company.company_recid = time_entry.company_recid and pm_project.pm_project_recid = time_entry.pm_project_recid and member.member_recid = time_entry.member_recid
This joins first two tables, coming up with nulls for a specific table, then joins two other tables, doing the same, and unions the two joins together. Thanks for the help.
One Ring to Rule Them All, One Ring to Find Them, One Ring to Bring Them All, and in the Darkness Bind Them.