You don't show the precise syntax but some thoughts - You don’t have the output the same as the input (I'm pretty sure that’s impossible but...) - There aren't any Scope Attributes in the loop anywhere? Rod