[在线等待]在模糊查询中怎么报缺少表达式~~~~~
<% Set RS = Server.CreateObject("ADODB.RecordSet")
StrFind=replace(request.form("StrFind"),"'","''")
if StrFind="" then StrFind=request("StrFind")
if strFind<>"" Then
SqlPjlb="select count(*) cnt from t_phone_log where date like '%" & strFind & "%' or tellerno like '%" & strFind & "%' or trancode like '%" & strFind & "%' or tranname like '%" & strFind & "%' or note like '%" & strFind & "%'"
else
SqlPjlb="select count(*) cnt from t_phone_log "
end if
if strFind<>"" Then
SqlPjlb="select * from t_phone_log where date like '%"&strFind&"%' or tellerno like '%"&_
strFind&"%' or trancode like '%"&strFind&"%' or tranname like '%"&strFind&_
"%' or note like '%"&strFind&"%'"
else
SqlPjlb="select * from t_phone_log "
end if
RS.CursorLocation = 3
RS.open SqlPjlb,objConn,3
RecordCount = RS.RecordCount
%>
我也查询了数据库没错
这段有什么错误呢?