Oh hey, learn something new every day! Thanks! Bob On Oct 24, 2011, at 4:00 PM, John Craig wrote: > The LAST_INSERT_ROWID() function returns the last inserted id for the current connection, so any other users on at the same time will not interfere with the value you require :)