Zoltan Report post Posted 02/02/2007 04:31 AM I use the VBscript module to insert records into a MySQL table with transactions (commit, rollback). How can I get the last inserted ID, that is, the unique number which is automatically generated with an auto increment? 1. I need it in a variable so it can be announced to the caller 2. I need to insert it into another table as reference number For example, I insert a new payment record and I need the automatically generated PaymentID for reference and also for inserting in another time table. Share this post Link to post
SupportTeam Report post Posted 02/02/2007 04:48 AM This is more of a MySQL related question rather then a VoioceGuide related question - yo should be asking questions like these on a MySQL forum. Share this post Link to post