Results 1 to 13 of 13
  1. #1
    jerryh is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2014
    Posts
    15

    Using "Create Email" Function

    I'm trying to set up the "Create Email" function to send out a form (can be either html or InfoPath) to update information within the database. I don't need to send the entire database to the manager, I only want to send a handful; however, Access generates an email with all of the manager's records. Is there a way to select only the records I want updated instead of all the records? I've tried doing it through a Query, but it still sends out all of the records.

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Perhaps you should include a WHERE clause within your Query.

  3. #3
    jerryh is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2014
    Posts
    15
    The WHERE clause causes the Query to become Read-Only...

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    That's odd.

    Post the SQL statement.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    jerryh is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2014
    Posts
    15
    I figured out what was making it "Read-Only" and corrected that; however, I'm still getting all records in the Create Email instead of just the few I want. Here is the SQL statement for my Query, which gives me what I want, it's just giving me the same results in the generated email form.

    SELECT [All Vendors].[ID], [All Vendors].[Vendor], [All Vendors].[Service Provided / Usage / Contract], [All Vendors].[Department], [All Vendors].[Max Allow Vendor Downtime], [All Vendors].[Financial Impact to Bank], [All Vendors].[Amt / Type of Sensitive Info], [All Vendors].[Next Review Month], [All Vendors].[Responses], [All Vendors].[Email]
    FROM [All Vendors]
    WHERE ((([All Vendors].[Next Review Month])="01 - Jan"));

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Did you mean it is NOT giving the same results in the generated email form?

    What process are you using? I just tested the E-mail option on the Export ribbon tab and it worked. I opened a filtered query object then selected the E-mail export.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    jerryh is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2014
    Posts
    15
    Correct, it's not giving me the same results. It's as if the Create Email is ignoring the WHERE Clause.

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Again, what process are you using? I could not replicate the issue.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  9. #9
    jerryh is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2014
    Posts
    15
    Sorry about that...

    For the Query:
    Create>Query Wizard>Simple Query Wizard
    I then go through the steps to pick out the table (only using one table), and fields I want
    I then go into design mode, and under the field labeled "Next Review Month" I type in "01 - Jan" (as I only want the items due in January).
    I hit "Run" and it gives me all the records I want, filtered by "Next Review Month"

    For Create Email:
    Right Click on the Query in the Objects pane and click on Collect and Update Data via Email
    Select HTML
    Update Existing Information
    I select all fields available
    "Automatically Process Replies" is not checked
    Under "The Current Table or query" I select "Email"
    Then just hit "Next" until I get to the list of email addresses and pick the one I want and click "Send"

    I check my Sent box in Outlook pull up the email that was sent out; however, instead of just the records that were pulled and filtered in the query, it's sending all records from the original table.

  10. #10
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Okay, using Collect Data.

    I tried those steps and no records are sent in the E-mail, just blank boxes.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  11. #11
    jerryh is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2014
    Posts
    15
    Maybe I'm going about it wrong... My table has information on our vendors. We have a LOT of vendors, and each vendor is "owned" by the department manager who initiated the contract with that vendor. Periodically I need to ask each manager if their vendors are still active and if there are any updates. I've been using Excel, but with the evolving compliance required with vendor management, I moved to Access to try to pull things together and create meaningful reports, etc... Seeing how I don't want to inundate managers with a long list of vendors to review all at once, I break them out throughout the year. If I could have Access generate an email to the applicable manager asking them to update their vendor's information and then upload it back up to Access so I don't have to cut and paste or manually type them in is my goal.

    I hope I'm making sense, and if there's an easier way to do this, I'm all ears!

    Thanks!

  12. #12
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    I've never used this utility, only tried to help forum members. Another thread actively working with https://www.accessforums.net/access/...ail-47977.html

    As far as I know, Collect Data is supposed to allow the collection of new and edited data.

    At this point, I can't even replicate transmitting records with the email. The Create E-mail option isn't available unless I have a table or query open or click on in Navigation pane.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  13. #13
    jerryh is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2014
    Posts
    15
    OK, I figured it out... I was reading some info on Lookup fields and how it's not advised to use them. So, I removed that field and set it up as a drop down field instead and removed the relationships that I didn't really need and voila!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 04-26-2012, 08:25 PM
  2. Replies: 2
    Last Post: 11-04-2011, 02:45 AM
  3. Replies: 1
    Last Post: 05-23-2011, 08:07 AM
  4. Using InfoPath under "Create Email" wizard
    By Alex in forum Import/Export Data
    Replies: 0
    Last Post: 07-21-2010, 07:30 AM
  5. Replies: 3
    Last Post: 04-10-2010, 10:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums