我正在获取一些数据:
rs.Filter = "datapath='" + dpath + "' and analystname='" + aname + "' and reportname='" + rname + "' and batchstate='" + bstate + "'"
If Not rs.EOF Then
MsgBox rs.Fields("rowid")
End If
如果 rs.filter
返回多条记录,我如何让 rs.fields("rowid")
给我多个 rowid 值?
最佳答案
do while not (rs.eof and not rs.bof)
MsgBox rs.Fields("rowid")
rs.movenext()
end while
语法可能有误,但就是这个意思。
关于mysql - 使用 .FIELDS adodb 显示多个值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2835828/