Jump to content

'Extract' comma delimited list


This topic is 4344 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I have FM 11 advanced on OSX

I produce a 'found set' of 'late' paying members. ok

I want to 'extract', as a comma delimited string, all the found set email addresses and then copy them to the clipboard so the user can 'paste' them into his email program (whatever that is).

What's the simplest way to do this?

Thank you

Link to comment
Share on other sites

Ugh, why not email out of FM? Each recipient gets his own email. You don't even need an email client.

Otherwise, you'll need to walk the records and set a variable to the email addresses, then substitute commas for carriage returns.

pseudo-code (where "cr" is a carriage return):

Go to first

Loop

Set $list; $list & "cr" & emailfield

go to next, exit after last

end loop

Substitute ($list, "cr" & ", ")

Set global to $list

copy

Link to comment
Share on other sites

This topic is 4344 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.