从一个8万条记录的数据库里读取记录,符号条件的加一标记,代码如下:
do while not rs.eof
    strwtdh=rs!exp_num_s
    strljdh=rs!exp_num_e
   strqur="select exp_num_s,exp_num_e,isvalid from table where exp_num_e=strwtdh and exp_num_s=strljdh
  set rstmp=gdbcurrendb.openrecordset(strqur,dbopendynaset)
  if rstmp.recordcount>0 then
     rstmp.edit
     rstmp.isvalid=00
     rstmp.update
endif
rs.movenext
loop
next
实际运行状况是速度超慢,求高人指点问题出在那儿?是不是SQL语句的问题?谢谢!