PatHastings
ISP
Hi,<br><br>IN SQL Server you can use the value @@identity to return the value of an identity field when you have inserted a row into that table.<br><br>Does anyone know if it is possible to pass this value through a recordset.<br><br>ie you insert a new row into the table using an ADO recordset then is there any way of getting the value of the idenity field for the row that you have just inserted other than creating and other recordset to read the row from the table?<br><br>Just curious as it seems terribly wasteful otherwise<br><br>Pat