本帖最后由 foxd 于 2012-07-03 16:34:28 编辑

解决方案 »

  1.   

    本帖最后由 net_lover 于 2012-07-03 16:32:17 编辑
      

  2.   

    access查询日期要加  # ,不过你的字段是日期型的吗,报什么错
      

  3.   

    Select * from tb_Weight where   
     Weight_DateTime >= '2012-07-03 13:11:43' and Weight_DateTime <= '2012-07-03 16:11:43'
    报错:标准表达式中的类型不匹配。Select * from tb_Weight where   
     Weight_DateTime between #2012-07-03 13:11:43# and #2012-07-03 16:11:43#
    报错:不正常地定义参数对象。提供了不一致或不完成的信息。Select * from tb_Weight where   
     Weight_DateTime >= '2012-07-03 13:11:43' and Weight_DateTime <= '2012-07-03 16:11:43'
    报错与第一个的相同。
      

  4.   

    Weight_DateTime 是DateTime类型的。
      

  5.   

    Select * from tb_Weight where   
     Weight_DateTime >= #2012-07-03# and Weight_DateTime <= #2012-07-03#
    试试看
      

  6.   

    http://blog.csdn.net/xianfajushi/article/details/4773217