musicarteca Posted January 16, 2006 Posted January 16, 2006 I am trying to create a mailing list with emails from different contacts. I have a table where every record is a mailing list. It has a portal with the contacts I want for each specific mailing list. I need a script that merges all the emails from every portal row separated by coma, and pastes that on another field to be used for sending the emails. I assumed that a script would be the best solution, unless there is another easier way.
Zero Tolerence Posted January 16, 2006 Posted January 16, 2006 If you had FM8 you could use GetNth Record and use a calc/custom function to automatically do this for ya. With V7, basically, you'd have a global field that is your to: field. Then loop through your records like so: Set Field "to" ; emailaddress loop Set Field "to" ; to & "," & emailaddress go to record next [exit after last] end loop
sbg2 Posted January 16, 2006 Posted January 16, 2006 You don't need a custom function or Get Nth function a Value List does the trick. See attached example. Mailing_List.zip
musicarteca Posted January 17, 2006 Author Posted January 17, 2006 Thank you for your replies, I tried the script solution and it works, but the calculation with the value list is just fantastic, I appreciate your time answering.
Recommended Posts
This topic is 6887 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now