Using a VBA script in Excel, I\'m trying to insert a new row into a table and then get back the identity value of that row. If I run:
You are executing two statements so you will get two results back. the recordset object can only hold one result at a time - to get the other result you need to use the NextRecordset method.
Set rs = rs.NextRecordset