No, you don't need sqlite3_reset() inside the loop. The pseudocode should be:
open prepare loop while not at end of file step read repeat finalize close For the "read" portion, use the sqlite_column_xxx() methods. And wrap every single string in your code in the _T() macro, or you'll get errors everywhere when you finally move to a Unicode build. RobR ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------