本文介绍了我的查询中有什么问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! rs.Open 从purch中选择PDATE,plan,NAME,PQNTY pdate> =& DTPicker1.Value& 和pdate< =& DTPicker2.Value& 按名称排序,pdate,cn,adOpenKeyset,adLockOptimistic 现在rs = 0,但是 rs.Open 按名称选择PDATE,plan,NAME,PQNTY,pdate,cn,adOpenKeyset,adLockOptimistic rs。 Filter = pdate> =& DTPicker1.Value& 和pdate< =& DTPicker2.Value rs#0为什么?请给出答案代码解决方案 rs.Open "select PDATE,plan,NAME,PQNTY from purch where pdate>=" & DTPicker1.Value & " and pdate<=" & DTPicker2.Value & " order by name,pdate", cn, adOpenKeyset, adLockOptimisticnow rs=0, butrs.Open "select PDATE,plan,NAME,PQNTY from purch order by name,pdate ", cn, adOpenKeyset, adLockOptimisticrs.Filter = "pdate>=" & DTPicker1.Value & " and pdate<=" & DTPicker2.Valuers # 0 Why ? Please give answers are code 解决方案 这篇关于我的查询中有什么问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-18 18:08