hanpoyangtitan网友:
我菜鸟一个,你给的代码我真不会用
我用了下面的代码,暂时能做到这个功能
rs.open "select * from xsda where zh='"+zh+"'",conn,1,1
rs1.open "select count(*) As jc from xsda where cj>(select cj from xsda where zh='"+zh+"')",conn,1,1
rs2.open "select count(*) As bc from xsda where bj='"+bj+"' and cj>(select cj from xsda where zh='"+zh+"')",conn,1,1