I have it as this:
tblMaster.Audit and tblMaster.PA are check boxes so I only want to pull them in where the checkboxes are not checked. If they are checked they mean something else to the database.
Code:
PARAMETERS Startdate DateTime, Enddate DateTime; SELECT tblMaster.rptNumber, tblMaster.suppName, tblMaster.Date, tblMaster.Nonconformance, tblMaster.Audit, tblMaster.PA FROM tblMaster INNER JOIN tblSupplier ON tblMaster.suppName=tblSupplier.Supplier WHERE (((tblMaster.Date) Between [Startdate] And [Enddate]) AND ((tblMaster.Audit)=False) AND ((tblMaster.PA)=False));
Comment