> -----Original Message-----
> From: John Stanton [mailto:[EMAIL PROTECTED] 
> Sent: Monday, July 24, 2006 2:14 PM
> To: sqlite-users@sqlite.org
> Subject: Re: [sqlite] Getting callback with an INSERT
> 
> Olaf Beckman Lapré wrote:
> > No, that's not the case since I'm using an AUTOINCREMENT 
> key and I can't
> > know the value of the key until the INSERT is completed.
> > 

use sqlite3_last_insert_rowid() as John suggests ...

And if you do want insert/update notifications, check out
sqlite3_update_hook():
http://www.sqlite.org/capi3ref.html#sqlite3_update_hook

Robert


Reply via email to