I get no errors, but the attachment doesn't update either; we're probably doing it wrong, but thanks for the help. As it is right now, I have no problems, I was just curious if anyone had done this in a similar way before. I was trying to avoid using loops at all costs.
Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.