Oh, and there's a part 2 as well. http://www.devshed.com/c/a/MySQL/Using-Transactions-In-MySQL-Part-2 Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com