查询语句错在那?
查询语句错在那?各位高人:你们好!
请帮忙看看我的查询语句错在那了?谢谢!
sql = "select * from 表1 where ph like '%" & Trim(Combo1.Text) & "%' and " & "(rg>=#" & Trim(Text4.Text) & "#) and (rg<#" & Trim(Text5.Text) & "#)" & " and rq between #" & DTPicker1.Value & "# and #" & DTPicker2.Value & "# order by rq desc"
[此贴子已经被作者于2007-11-17 13:19:20编辑过]