G
Guest
When you open a recordset, how do you test for the case where it has no
records?
records?
Alex Dybenko said:if rst .eof and rst.bof then
'recordset has no records
end if
Ken Snell said:If rst.EOF = True And rst.BOF = True Then
' there are no records in the recordset
End If
or
If rst.RecordCount = 0 Then
' there are no records in the recordset
End If