Can anyone tell me why / how to get back an Identity field from a SQL Server database connected to as an ADO Recordset?
I’ve go the code from someone else in the office, and he first creates a empty recordset (SQL has a Where 1 = 2 clause)
He then set various of the fields to the values he wants, finally does an .Update to push the data back into SQL Server
Then for an audit, he puts the MsgId field (the Identity) into another table
I’ve got SQL Server running, (only 7 whereas he’s got 2000), and when I look at the recordset in Watch, the field is Empty