How to filter records that have backslash value in a field using x++?

Hi All, I have a requirement to filter packingslip records that have backslash or no backslash in packingslipid. I could not able to filter the backslash records for the belwo code. Please let know how to filter backslash value as well no backslash value. this.query().dataSourceTable(tablenum(VendPackingSlipJour)).clearRanges(); this.query().dataSourceTable(tablenum(VendPackingSlipJour)).addRange(fieldnum(VendPackingSlipJour, PackingSlipId)).value(con2str(contPackingSlip));

A single backslash will not be considered by the filter which is the design issue, instead use a double slash \ and use queryValue function