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
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pradeep MishraPosted Jun 24, 2009, 5:58 AM
its return -1 b/c values not find.
-1 means not a single record find