Recent content by GettingDone

  1. G

    Loop email. Attaches wrong report

    Pbaldy, No worries, I got around the sent email box by changing my user profile in outlook to only show one email box. Never did get around the outlook security warning without errors in the whole process. If i need help in the future should I begin a new thread?
  2. G

    Loop email. Attaches wrong report

    One more issue: I have multiple email boxes set up in outlook. I want to select which box the end-recipients recieve the file from. I added these following lines to the code, but it still sends from my default mailbox.... Dim MyDb As DAO.Database Dim rsEmail As DAO.Recordset Dim sMailFrom As...
  3. G

    Loop email. Attaches wrong report

    Pbaldy, Everything works perfect now with two different queries. I was also hoping to get around the outlook security warnings (when sending from access). I have 500 recipients getting customized reports and it would be painful to have to click "yes" for each email. I tried a very...
  4. G

    Loop email. Attaches wrong report

    That was something I changed to run some more tests, it was [UnboundCode]. That is a good thought, I will experiment with the changing the recordset and adding another query, possible one that pulls just "Code" and "Email" from the orginal data table. I will post any issues that arise Your...
  5. G

    Loop email. Attaches wrong report

    I think it errored because it was looping, the query cant pull from the box it is sourcing in the code.
  6. G

    Loop email. Attaches wrong report

    Thanks for the response! When putting the criteria in to my query it returns an error. This makes sense because no values are entered in the the unbound text box: [UnboundCode] My report right now is 3 pages, for the 3 records in the query. To make this process loop correctly and only send...
  7. G

    Loop email. Attaches wrong report

    I am attempting to learn more about Automatically generating e-mails from a report. I used the above script as a base line but am still encountering a similar error to that "rnickels" fixed. My loop is working correctly in the sense that it is looping through and sending the report via e-mail to...
Back
Top Bottom