[snip] > if (sqlite3_prepare(db, "SELECT * FROM tbookings", -1, &rs, > &psz) == > SQLITE_OK) > { > rc = SQLITE_ROW; > while (rc == SQLITE_ROW) > { > rc = sqlite3_step(rs); > printf("id = %d, ", sqlite3_column_int(rs, > 0)); > } > } <- what about calling sqlite3_reset(rs); here? > printf("About to finalize, do UPDATE now, then press Esc, > rc = [snip]
- Filip ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------