Hi Roland,
The code I referenced is relevant to MS SQL Server. I don't know if you can or cannot use it in VB.NET. You can post your question on the .NET forum on UT.
>Hi Sergey,
>
>The code I retreived is greek to me.
>I use VB.net and SQL 2000 which I just learning. What is a result set? How would you use this code in VB to increment LastTransId and return it to VB from where you called it? What would the code be to accomplish this?
>
--sb--