ADODB.Recordset (0x800A0BCD)

2025-12-17 09:12:44
推荐回答(2个)
回答1:

也许楼上的回答运行起来没错,但实际有错
应该是:
do while not rs.eof and not rs.bof
是and 不是or。意思是:只有不是记录的结尾并且也不是记录的开头时才循环

回答2:

do while not rs.eof or rs.bof
写错了吧!
do while not rs.eof or not rs.bof