sql 2000 rs.recordcount 为 -1 的问题

sql 2000 rs.recordcount 为 -1 的问题

以前在access数据库里能运行的程序代码,换成sql2000后发现 rs.recordcount = -1 ,到网上查了下资料,只要加句代码就行了 rs.cursorlocation = 3
 

以前的代码
sql="select wt_id,wt_filename,wt_title  from  dbName  order by wt_id  desc"

More...