Retriving the ID after a new insertion
Posted: Tue Aug 19, 2003 4:48 am
Hi
I would like to retrive the ID (auto-incrementfield) of the record that I have just insreted into the database..
I am writing a DB Class function which will try to insert a new record, if it successeded will return a record object that has the id varibale set to the new ID. If it failed to insert the new record it'll return false.
I would like to retrive the ID (auto-incrementfield) of the record that I have just insreted into the database..
I am writing a DB Class function which will try to insert a new record, if it successeded will return a record object that has the id varibale set to the new ID. If it failed to insert the new record it'll return false.