Hi,
I need to add a couple of criteria to a query so that it doesn't give me any records for staff who have left or transfered. I have tried a few variations of the code below but I have had no luck can anyone see where I'm going wrong,
strSQL = "SELECT * FROM tbltrustStaff " & _
Where "tbltrustStaff,left is null" and "tbltrustStaff,transfered is null"
strwhere
I need to add a couple of criteria to a query so that it doesn't give me any records for staff who have left or transfered. I have tried a few variations of the code below but I have had no luck can anyone see where I'm going wrong,
strSQL = "SELECT * FROM tbltrustStaff " & _
Where "tbltrustStaff,left is null" and "tbltrustStaff,transfered is null"
strwhere