rstPersons.Open("SELECT * FROM Persons WHERE Name='"+Name+"';",conADO,ADODB.CursorTypeEnum.adOpenDynamic,ADODB.LockTypeEnum.adLockOptimistic, 0);
for some reason this returns rst.recordcount as -1
How can a record count be -1?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Pradeep Mishra6 reputationPosted Jun 24, 2009, 1:58 AM EDT
its return -1 b/c values not find.
-1 means not a single record find