This sql statement is returning the results that I want, but it is returning each record multiple times based on how many records there are in the subTable. How can i set this up so it only returns only one instance of each record?
Code:
SELECT tblReportHeader.ReportID, tblReportHeader.ReportInvoiceNumber, tblReportHeader.ReportTestDate, tblReportHeader.ReportSampleDate, tblReportHeader.ReportSampleTime, tblReportResults.ReportResultsType
FROM tblReportHeader LEFT JOIN tblReportResults ON tblReportHeader.ReportInvoiceNumber = tblReportResults.ReportResultsInvoice
WHERE (((tblReportResults.ReportResultsType)=1));