'strsql = "select * from test where sj between # " & Text2.Text & " # and # " & Text3.Text & " #"
'strsql = "select * from test where sj between # " & DTPicker1.Value & " # and # " & DTPicker2.Value & " #"
strsql = "select * from test where sj >= # 2004-04-01 # and sj<= # 2004-06-24 #"
举了4种情况
strsql = "select * from test where " & Combo1.Text & " " & Combo2.Text & " # " & Text1.Text & "#"