Glad to hear it was just some "tweaking" of the code.
>Cathi,
>
>It was the fact that I passed in two header records. I added back the code to cause an error on the 15th detail record, and it rolls back correctly.
>
>Thanks for your help,
>Doug
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi