What would I change in this query so that if one or both combos were left blank, the records for the combo(s) would ALL be returned to my form? This works now but I need a value in both combos or I get no records returned.
SELECT tblWO.WOnumber, tblWO.Status, tblWO.Property, tblWO.Description, tblWO.Requested, tblWO.RequestedBy, tblWO.Service, tblWO.Created, tblWO.Phone, tblWO.Asset
FROM tblWO
WHERE (((tblWO.Status)=[Forms]![FrmFilter]![FrmFilterCombo]) AND ((tblWO.Property)=[Forms]![FrmFilter]![PropertyFilter])) OR (((tblWO.Property)=[Forms]![FrmFilter]![PropertyFilter]) AND (([Forms]![FrmFilter]![FrmFilterCombo])="Is Null")) OR (((tblWO.Status)=[Forms]![FrmFilter]![FrmFilterCombo]) AND (([Forms]![FrmFilter]![PropertyFilter])="Is Null")) OR ((([Forms]![FrmFilter]![FrmFilterCombo])="Is Null") AND (([Forms]![FrmFilter]![PropertyFilter])="Is Null"));
SELECT tblWO.WOnumber, tblWO.Status, tblWO.Property, tblWO.Description, tblWO.Requested, tblWO.RequestedBy, tblWO.Service, tblWO.Created, tblWO.Phone, tblWO.Asset
FROM tblWO
WHERE (((tblWO.Status)=[Forms]![FrmFilter]![FrmFilterCombo]) AND ((tblWO.Property)=[Forms]![FrmFilter]![PropertyFilter])) OR (((tblWO.Property)=[Forms]![FrmFilter]![PropertyFilter]) AND (([Forms]![FrmFilter]![FrmFilterCombo])="Is Null")) OR (((tblWO.Status)=[Forms]![FrmFilter]![FrmFilterCombo]) AND (([Forms]![FrmFilter]![PropertyFilter])="Is Null")) OR ((([Forms]![FrmFilter]![FrmFilterCombo])="Is Null") AND (([Forms]![FrmFilter]![PropertyFilter])="Is Null"));