
Originally Posted by
RuralGuy
Create a User Defined Function in a standard module that walks through the table and returns the concantenated string.
what's the word on me over with the big boys ruralguy? have I been declared insane yet?
I waited like 2 months after they ousted me and took another look but Bob was still on the lookout for my IP. It only took him like 4 or 5 days to browse the new accounts and catch it.
At any rate, here's a module for you:
Code:
function t
dim emails as string
dim db as dao.database
dim rs as dao.recordset
set db = currentdb
set rs = db.openrecordset("tablename")
rs.movelast
rs.movefirst
emails = ""
do until rs.eof
emails = emails & rs!fieldname & " "
rs.movenext
loop
rs.close
set rs = nothing
set db = nothing
end function
of course after this you have to throw the EMAIL string somewhere otherwise it'll just stay in memory.