advance loop script
I have a loop script that is giving me problems. The problem is when i run the script from a client computer it works fine. But i need the script to run over a server and its not quite doing what i want. I need the script to go to a layout where all leads are are stored for our outside sales team, search the sales rep name and loop a copy and past script to his/her table. the problem is when i run the script from a server it only takes one lead at a time instead of grabing all of them and place them in his/her table.
this is the script that loops the lead: