I've tried quite a number of things. the DoCmd.SendObject seems to do what i
need to do but can't workout how to extract the data from the table to create
the multiple emails that i need to send (only around 30 actually)...i'm sure
its a pretty easy thing to do!!!
The other option was for it to be sent directly from access and bypasing
outlook alltogether...but i think i would rather be able to to the first
option.
I've tried quite a number of things. the DoCmd.SendObject seems to do whati
need to do but can't workout how to extract the data from the table to create
the multiple emails that i need to send (only around 30 actually)...i'm sure
its a pretty easy thing to do!!!
The other option was for it to be sent directly from access and bypasing
outlook alltogether...but i think i would rather be able to to the first
option.
there's an example of how to send an e-mail through Outlook at www.amazecreations.com/downloads (I think)... then you just do
something like this:
dim rs as dao.recordset
set rs=DBEngine(0)(0).OpenRecordset("Mytable",dbopensnapshot)
do until rs.EOF
olkMsg.Recipients.Add(rs.fields("EMailAddress")
rs.MoveNext
loop
olkMsg.Display
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.