patrick

patrick

  • NA
  • 397
  • 0

How can a record count be -1?

Jun 18 2009 3:34 PM
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

Answers (1)