|
-
Nov 13th, 2001, 12:52 AM
#1
Thread Starter
Member
WhyIsItSo
i have created a recordset say rs and it has a valid connection as well as a valid sql string
rs.open sql,con,adopenkeyset,adlockpessimistic
Why is it so that the recordcount method returns the total no. of records correctly in this case,
But returns -1 with other locktypes and cursor types?
with Regards
Vbgirl
-
Nov 13th, 2001, 01:13 AM
#2
Hyperactive Member
this is because recordcount property is supportted only by adopenkeyset cursor type
more explaination is in MSDN
-
Nov 13th, 2001, 05:11 AM
#3
Junior Member
Recordcount Method doesn't work with Oracle database at all, only SQL Server with adOpenKeyset and adOpenStatic
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|