Not sure if this is the best way but I found a temporary solution... I added the code based from Vohra, Sandeep Singh's advice. (Thanks again!) This code helped me rename the file that was being messed up from the loop. (The loop from the dynamic table was causing the name to copy itself.)
To solve the looping problem, I just used a <cflocation url="new page"> tag to a new page that had the email code on it. This kicked it out of the loop and ran the following code only once as desired. Thanks again! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2053 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
