if rs.bof then 表示:当前指针的位置是在第一行记录之前 if rs.eof then 表示:当前指针的位置是在最后一行记录之后 if not rs.eof then 表示:当前指针的位置没有到达最后一条记录 if not rs.bof then 表示:当前指针的位置没有到达第一条记录 ------------------------- ###推荐使用下面两条 if not (rs.bof and rs.eof) then 表示:指针位于 RecordSet 的当中(并非是最后一条和