sql="select max(weight) from table"
rs.open sql,conn
dim weight as variant
weight=rs.fields("weight")

解决方案 »

  1.   

    ========================================================帮忙测试一下www.easthot.net的论坛,把bug写到<BUG报到处>这个帖子
    谢谢大家
    ========================================================
    可取如下帖子领分http://www.csdn.net/expert/topic/674/674492.xml?temp=.2050592
    http://www.csdn.net/expert/topic/641/641938.xml?temp=.5480768
    http://www.csdn.net/expert/topic/675/675554.xml?temp=.5095026
      

  2.   

    ========================================================帮忙测试一下www.easthot.net的论坛,把bug写到<BUG报到处>这个帖子
    谢谢大家。
    也有问题的答案哦
    ========================================================
    可取如下帖子领分http://www.csdn.net/expert/topic/674/674492.xml?temp=.2050592
    http://www.csdn.net/expert/topic/641/641938.xml?temp=.5480768
    http://www.csdn.net/expert/topic/675/675554.xml?temp=.5095026
      

  3.   

    sql="select max(weight) as mweight from table"
    rs.open sql,conn
    dim weight
    weight=rs("mweight")