Trying to get the number of records in an ADO recordset, using the following code:
If mailRs.Supports(adApproxPosition) = True Then
Me.EmCount.Value = mailRs.RecordCount
End If
It skips the second line of code indicating that my RS does not support the cursor type. How do you set that support, or is there another way of skinning the cat (getting a record count).
Office 10
Windows 7
Thanks
jpl
If mailRs.Supports(adApproxPosition) = True Then
Me.EmCount.Value = mailRs.RecordCount
End If
It skips the second line of code indicating that my RS does not support the cursor type. How do you set that support, or is there another way of skinning the cat (getting a record count).
Office 10
Windows 7
Thanks
jpl