Can someone help me with my SQL..
Im doing a search of unique records.. I can't get it to work after adding the Is null stmts..
thanks
Im doing a search of unique records.. I can't get it to work after adding the Is null stmts..
Code:
SELECT *
FROM tblInspections
WHERE ((tblInspections.strDate) = Between [Forms]![Search]![open] OR IsNull([Forms]![Search]![open]) And [Forms]![Search]![close] OR IsNull([Forms]![Search]![close])) AND ((tblInspections.REJ=[Forms]![Search]![REJ]) OR IsNull([Forms]![Search]![REJ])) AND ((tblInspections.strProject=[Forms]![Search]![strProject]) OR IsNull([Forms]![Search]![strProject]));
thanks