Column to list

Gismo

Registered User.
Local time
Tomorrow, 00:00
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?
 
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
 
use Allen Browne's ConcatRelated function.
 
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
 

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...
 
And you already have the code in your other thread about (CDO) emailing with GSuite.
Cheers,
 

Users who are viewing this thread

Back
Top Bottom