![]() |
Admin 4/14/2005 |
Hi, rs.Update rs.Close Set rs1 = Server.CreateObject("ADODB.Recordset") rs1.Open "SELECT LAST_INSERT_ID()", dbConnection message="<div class=message><<< " & "Record was added,ID: " & rs1(0)& " >>></div>" rs1.Close |
|
hanb 11/6/2007 |
Hi, you can modify xx_add.asp code:
|
![]() |
Admin 11/6/2007 |
Han, |
|
hanb 11/17/2007 |
Han, the same example will work in ASPRunnerPro 5.1: Set rs1 = Server.CreateObject("ADODB.Recordset") rs1.Open "SELECT LAST_INSERT_ID()", dbConnection
|
|
hanb 11/17/2007 |
I suppose I now have to save the last insert value somewhere to use it in a next add record. How do I code the update table 'registratie' field 'Registratienr' and how do I read it in the next add.
|
![]() |
Admin 11/19/2007 |
Han, |