SELECT * FROM chuku WHERE NOT BETWEEN(出库日期,thisform.pageframe1.page1.text3.Value,thisform.pageframe1.page1.text12.Value)
如果“出库日期”是C型,试试下面这句
SELECT * FROM chuku WHERE NOT BETWEEN(ctod(出库日期),thisform.pageframe1.page1.text3.Value,thisform.pageframe1.page1.text12.Value)
如果“出库日期”是C型,试试下面这句
SELECT * FROM chuku WHERE NOT BETWEEN(ctod(出库日期),thisform.pageframe1.page1.text3.Value,thisform.pageframe1.page1.text12.Value)