<%
Criteria = " WHERE LIKE <> '0' "
if Request("Submit") = "Search" then
if request.form("LIKE") <> "" then
Criteria = Criteria & " AND LIKE = '" & request.form("LIKE") & "'"
end if
if request.form("date") <> "" then
Criteria = Criteria & " AND date = '" & request.form("date") & "'"
end if
if request.form("id_customer") <> "" then
Criteria = Criteria & " AND id_customer = " & request.form("id_customer")
end if