The code ends up in an infinite loop after the second trip through the partsBO1 BOs. It keeps repeating the second record. What am I doing wrong?
Thanks!Bill
I believe the problem is the mBO.Edit() and mBO.Save() enumerating the same BO. I think you can update all the records you need and do a single partsBO1.Save() at the end of the loop.
Have a great day!Bill