我是连接的access数据库,用Text1返回第一个日期,用Text2返回第二个日期,然后用
sss1=text1.text
sss2=text2.textdata1.recordsource="select * from XX表 where 进入日期 between _
sss1 and sss2"
不对
data1.recordsource="select * from XX表 where 进入日期 >=sss1 and _
进入日期<=sss2
也不对