Column to list (1 Viewer)

Gismo

Registered User.
Local time
Today, 02:26
Joined
Jun 12, 2017
Messages
1,298
Hi All,

please help again :)

I need to convert email addresses from a table to a comma delimited list

From Email_Address
email1
email2
email3

to email1;email2;email3


please could you assist?
 

bob fitz

AWF VIP
Local time
Today, 00:26
Joined
May 23, 2011
Messages
4,721
I need to convert email addresses from a table to a comma delimited list
Just curious. Why do you need a value list rather than binding the listbox/combobox to the email table
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 07:26
Joined
May 7, 2009
Messages
19,237
use Allen Browne's ConcatRelated function.
 

Isaac

Lifelong Learner
Local time
Yesterday, 16:26
Joined
Mar 14, 2017
Messages
8,777
I highly recommend you take this opportunity to write the code yourself. It's very easy to write, so perfect for doing it yourself - you'll learn alot and there is no need to paste code from the internet for something so relatively easy to re-write. Your skills will be much better off for it!

1. open a recordset with the email address
2. declare a string variable
3. loop through the recordset
4. populate the string variable
5. close the recordset
 

Uncle Gizmo

Nifty Access Guy
Staff member
Local time
Today, 00:26
Joined
Jul 9, 2003
Messages
16,280

Display Field Data Horizontally - Nifty Access​



More info on my website here:-


Along with a download. You can get for free, contact me for details...
 

bastanu

AWF VIP
Local time
Yesterday, 16:26
Joined
Apr 13, 2010
Messages
1,402
And you already have the code in your other thread about (CDO) emailing with GSuite.
Cheers,
 

Users who are viewing this thread

Top Bottom