You should use SetFieldByName in this case and set your TO and Field from the script.
FileMaker 10 and 11 Certified Developer
C 917 660-7221
Member, FileMaker Business Alliance
Member, FileMaker Technical Network
Wow... Cool. Thanks, Agnes. I remember reading about this relatively new script step some time ago, but I forgot it was something in the toolbox. Thanks for bringing it to my attention.
My pleasure. It's once of my favorite script steps.
agnes b. riley . filemaker and web development
FileMaker Business Alliance . FileMaker Technical Network
T 201-299-6223 (NJ) .
FileMaker Certified in 10 and 11
people + products + events + todos + invoices + documents = productivity