以下是引用laowan001在2023-7-6 18:46:44的发言:
t11 = date()
t12 = date()+3
sqlexec(nHandle,"select * from AA_AA_JUNLI_Moju_chuku","AA_AA_JUNLI_Moju_chuku")
SELECT * FROM AA_AA_JUNLI_Moju_chuku WHERE BETWEEN(出库时间,t11,t22) INTO CURSOR riqi
这样还报错吗?如果不报错了,那就是t11和t12的类型问题
t11 = date()
t12 = date()+3
sqlexec(nHandle,"select * from AA_AA_JUNLI_Moju_chuku","AA_AA_JUNLI_Moju_chuku")
SELECT * FROM AA_AA_JUNLI_Moju_chuku WHERE BETWEEN(出库时间,t11,t22) INTO CURSOR riqi
这样还报错吗?如果不报错了,那就是t11和t12的类型问题
报类型不匹配