I suggest creating a static counter. Initialize it to zero before you call
the "sqlite3_exec( )" function and increment it once for each call to the
"callback" function.
After all records are read and the call to "sqlite3_exec( )" returns, the
counter will show the record count.
Lee Crain
_________________________________
static int iCounter;
callback( blah-blah, etc. )
{
// Extract the record
iCounter++;
}
_________________________________
-----Original Message-----
From: Dusan Gibarac [mailto:[EMAIL PROTECTED]
Sent: Friday, July 20, 2007 3:02 PM
To: [email protected]
Subject: [sqlite] callback and sequence number of iteration
callback function will do something for each retrieved row and I have to
know in each iteration what is the sequence number of iteration. How can I
read or count it?
Dusan Gibarac
--------------------------------------------------------------------------
---
To unsubscribe, send email to [EMAIL PROTECTED]
--------------------------------------------------------------------------
---
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------