分页:
上一页 1 2 [3] 4 5 6 7 下一页
CursorType:=adOpenKeyset, _
LockType:=adLockOptimistic
" Find the first record that meets the criteria.
.Find Criteria:=strCriteria, SearchDirection:=adSearchForward
" Make sure record was found (not at end of file).
If Not .EOF Then
" Print the first record and all remaining
" records that meet the criteria.
Do While Not .EOF
Debug.Print .Fields(strDisplayField).Value
" Skip the current record and find next match.
.Find Criteria:=strCriteria, SkipRecords:=1
Loop
Else
分页:
上一页 1 2 [3] 4 5 6 7 下一页