Problem with revNumberOfRecords

Jérôme Rosat jrosat at mac.com
Sun Feb 13 15:56:02 EST 2005


Dear all,

I use a stack with a MySQL database. To move through the records in a 
record set I use this script:

   revMoveToFirstRecord thisCursor
   repeat for revNumberOfRecords(thisCursor) times
     -- bla bla
     revMoveToNextRecord thisCursor
   end repeat

When I use the same stack with a Access 97 database and a ODBC 
connection and the same number of records, the revNumberOfRecords 
function return -1.

How to resolve this problem ?

Jérôme Rosat


More information about the use-livecode mailing list