>Since you decided to ignore my questions, I don't know if this is what you need, but you can use functions in INSERT command, it doesn't matter whether you execute the command using ADO, OLEDB or ADO.NET.
>
>INSERT INTO ... VALUES (..., GETAUTOINCVALUE(0), ...)
I don't understand how I could get a handle on that value after the insert command is done.