vb连接access数据库时间作为条件查询该如何写
cn.opensql="selecttop1bid,shifou,sex,chima,biaoti,pingjiafromtbuyerwhereshifou='n'and...
cn.open
sql = "select top 1 bid,shifou,sex,chima,biaoti,pingjia from tbuyer where shifou='n' and tm<#" & Date & "#"
rs.open sql, cn, 1, 3
cn.close
tm是时间字段,这样查询一直失败,正确应该怎么写 展开
sql = "select top 1 bid,shifou,sex,chima,biaoti,pingjia from tbuyer where shifou='n' and tm<#" & Date & "#"
rs.open sql, cn, 1, 3
cn.close
tm是时间字段,这样查询一直失败,正确应该怎么写 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询