hi everybody.
i am trying to filter a recordset using the where statement with 2 criteria. when i use 'and' it doesnt filter and when i use the '&' i get no results. here is the code:
sTr="Select * From Drainage Where [Parcel Number]='" & Request.Cookies("PIN") & "' and [Deleted]<>'Yes' Order by DMR"
does anyone know why this is not filtering results?
thanks in advance.
Jack
i am trying to filter a recordset using the where statement with 2 criteria. when i use 'and' it doesnt filter and when i use the '&' i get no results. here is the code:
sTr="Select * From Drainage Where [Parcel Number]='" & Request.Cookies("PIN") & "' and [Deleted]<>'Yes' Order by DMR"
does anyone know why this is not filtering results?
thanks in advance.
Jack