Email Reports

Mar 25, 2005

We have a report that will result in a number of customers (which will be broken apart via a page break) being listed. The plan is to be able to trigger a report (that will run a query) to find all loads that have not been delivered. This report will then be sent to receiving customers to let them know the status of the loads crossing the US via truck.

We want to be able to send these reports via email simply by pressing a button. No matter the fact that there will be more than one customer, we want the report (or portion of) to go to the correct customer.

We already have the customers email address in the database, but I need to figure out how to link the page of the report to the customer and have it sent.

Ideas? Solutions?

View Replies


ADVERTISEMENT

Reports :: Email Individual Reports - Attachment To Be A PDF

Aug 15, 2013

I am working on an Access DB and I need to email individual reports to email addresses linked to the corresponding email. I would like these email to be sent though outlook and the attachment to be a PDF.

View 10 Replies View Related

Reports :: Email Record With Button

May 2, 2013

1:is it possible to have a clickable button beside each record in the report format that when clicked runs another report and inputs data into parameter querys automatically that the second report asks for? Etc. the second report will ask for [Username], [start Date], [end date]it copies and pastes the details from the row clicked into these parameters? or get it to work in a simular way? reason being for this the details need to be in a certain format layout that then on a button click Emails the report as a PDF

2:is it possible to have a button on the report screen that will Email the report as a PDF file with only the parameter data shown?

View 1 Replies View Related

General :: Exporting Reports To Email?

Jun 8, 2013

I need to export my reports (invoices) to rtf format or pdf then create seperate emails for each report with email subject title of [Address] [Suburb] [Supervisor]

I also need it to only create them but not send them, as I also need to attach photos and forms prior to sending them.

Is this possible to do in access?

It was so much easier when I could just run the saved export button & drop the 1 file into email.

View 4 Replies View Related

Reports :: VBA Report To Generate PDF And Email

Jan 20, 2015

I found the vba to generate multiple pdf's from a single report which is working well (see below).

The script below generates about 15 pdf files and stores them in the specified directory

I'd like to be able to now email these to the individual users (SCNAME) but cannot work out where to start, i've tried a lot of things from the research on emailing, just not working.

All the information I need is in one table which includes the users email address field (SCemail).

I've also created an update query which generates a unique file name into the field (SCInstallDate) (currently not using this field data)

Code:
Private Sub cmdSC2PDF_Click()
Dim rst As DAO.Recordset
Set rst = CurrentDb.OpenRecordset("SELECT DISTINCT [SCNAME] FROM [Schedule];", dbOpenSnapshot)
Do While Not rst.EOF
strRptFilter = "[SCName] = " & Chr(34) & rst![SCNAME] & Chr(34)

[Code] .....

View 14 Replies View Related

Reports :: Email Report To Several Individuals

Apr 3, 2014

I want to be able to email a report to several individuals and have only the data that pertains to that person attached in the email? Is this possible?

View 1 Replies View Related

Email Reports Using 2 Addresses For Several Individuals

Jul 14, 2014

In my database for our charity there is a field for email addresses. Most of the contacts have a single email address and we can send them their individual reports without any problem. However a number of the contacts have 2 email addresses and these are stored in the email address field with a semicolon between the 2 addresses. However the system can't send emails to these contacts! Are we storing the addresses in the wrong way? Or is there some reason why Outlook won't regard the 2 addresses as separate email addresses - does it think that it is one strange email address that it doesn't recognise?

View 14 Replies View Related

Reports :: Check If Client Has Email Address

Jan 2, 2014

I currently have details of my clients in a table called tblSites, this tble includes a field with an email address. I currently produce a invoice which is automatically saved as a pdf and an email generated with the invoice attached. However, a few clients do not have email addresses (these are sent by post). My code (see below) will successfully produce the email with the attachment, but if the client does NOT have an email address in the tblSites it comes up with the "Invalid use of Null" error. What I want it to do is continue the process of just saving the invoice with a Msgbox stating "This Client does not have an email address etc etc.

'Save Invoice as PDF and annotate Invoice Number, Date and site name

Dim StrFile As String
Dim slSQLString As String
Dim rsEmailAddress As Recordset
Dim slEmailAddress As String
StrFile = "C:Redwatch Invoices" & Forms!frminvoice!txtInvoiceNr.Value _
& "-" & Format(Date, "dd-mmm-yy") & "-" & Forms!frminvoice!cboSiteName & ".pdf"

[Code] ....

View 3 Replies View Related

Reports :: Email Report Based On Supplier?

Apr 14, 2014

I have a report that creates purchase orders, this could be many suppliers these suppliers have e-mail addresses.

is it possible to get the report to look at the supplier name , find the e-mail for that supplier and send it to them.

View 1 Replies View Related

Modules & VBA :: Send Two Reports In Email Body?

Jan 15, 2015

With the code below , I send the report: “ESERT4H”, in email body. How I could add yet another report on the same body of the email ?

DoCmd.OutputTo acOutputReport, "ESERT4H", "HTML(*.html)", "D:Access empESERT4H.html", False, "", 0, acExportQualityScreen
Dim Out As Outlook.Application
Dim NS As Outlook.NameSpace
Dim Folder As MAPIFolder
Dim Mens As MailItem

[Code] ....

View 7 Replies View Related

Reports :: Email A Report With Address As Variable

Jun 10, 2014

I am using vista and access 2010, what I want is to be able to email a report from access that was created by a form with DoCmd.OpenReport "ReportOrder", acViewReport. I have a button that when i click it it will send the report via email, but the email address has to be a variable so when the report is created i can use the email that is attached to the report data.

View 3 Replies View Related

Reports :: Automated Sending Report By Email

Jan 8, 2015

Every month I have to make a report about registration of hours of a group of employees. (These employees have a deal with direction about travel hours vs. working hours).This report has to be send to the group members but only the data which is valid for the group member in it. There are 11 persons in this group so I have to send 11 reports.

I made a query with the hours registered from this group. I couldn't export it because it was read-only. That was because the query contains joins to the employee table. After that I tried it with a report. That nearly went well but it contained all data and not the seperated info.What I need to know:What is easier/better: use a query or use a report?Is there code which looks in my query or the report and makes it into seperated reports?I've tried the code of Tony Hine but I can't make it work.After that I need to do a mail-merge. But first of all do I need to make the seperated reports to work.

View 6 Replies View Related

Reports :: End Of Month Report Automated Email?

Jul 16, 2015

Is there a way to have my database see that its a new month and then run a report that could be automatically emailed?

View 6 Replies View Related

Reports :: Sending Email Form Report?

Nov 12, 2013

I am trying to send an Email from a report . Using this code

Code:
On Local Error GoTo Some_Err
Dim MyDB As Database, RS As Recordset
Dim strBody As String, lngCount As Long, lngRSCount As Long
DoCmd.RunCommand acCmdSaveRecord
Set MyDB = DBEngine.Workspaces(0).Databases(0)

[code]....

I am getting an error on lblStatus.Caption.

View 5 Replies View Related

Sending Reports With Email Body Having HTML

Nov 20, 2014

I need to send different reports to a bunch of different persons every hour... I had several macros that did it for me, But Then they wanted me to include a e-mail body that was more than 255chars, so i had to go VBA and i have this (for every set of persons and Reports):

Private Sub Command38_Click()
On Error GoTo ErrorHandler
DoCmd.SendObject acReport, "REPORT NAME", "Extension", "EMAILS", "", "SUBJECT", "EMAIL BODY", True, ""
ExitHandler:
Set rs = Nothing
Set db = Nothing
Exit Sub
ErrorHandler:

[code]....

so everything is good, but NOW they want the body of the email to contain another paragraph totally separated from the first one and they want it highlited and also in Red, How can i add Html to this or do i have to use another method?

I have tried this:

Public Sub TestEmail()
Dim appOutLook As Outlook.Application
Dim MailOutLook As Outlook.MailItem
Set appOutLook = CreateObject("Outlook.Application")

[code]...

But it keeps on giving me errors, about objects not being defined.

View 14 Replies View Related

I Need A Command Button To Print Preview And Email Two Reports

Oct 7, 2004

Like the title says I need a command button to print preview and email two reports. I tried using macros but the problem I have is that it'll send out two emails instead of one email with two attachments. The other problem is that it won't recognize current pages information so it'll show two blank reports. But If I go to next record and come back in form view, it reognizes the changes and the reports look fine. Any help would be appreciated.

View 2 Replies View Related

Reports :: Relevant Record Entries Into Report And Email

Jan 20, 2014

I'm struggling to produce a report that pulls out pre defined fields from the active record displayed on a form and attach / embed to an email.

View 1 Replies View Related

Reports :: VBA Script To Email Attachment Data Type?

Jun 17, 2015

I have a database that has the table [tblAttachments] to store various attachments. In this table I have a primary key [ItemNumber] and an attachment data type field. This table holds all attachments for a Customer/Record.

What i am trying to accomplish is being able to code a command button to send the Attachment file (eg. various type of files .doc; .exl; .jpg etc) as an attachment in an email.

I have found some info on saving them to the local harddrive but this is not going to work for my specific needs.

View 14 Replies View Related

Modules & VBA :: Looping Through Toggle Buttons To Email Reports

Apr 4, 2014

I have VBA to send multiple reports to a group of people depending on a toggle button selection. what I'm wanting to do is have it loop through the e mail process until all 5 toggle buttons have been selected and the reports have been E Mailed. Is this possible. Toggle buttons are named toggle1, toggle2 and so on.

View 4 Replies View Related

Modules & VBA :: Sending Reports By Email Based On A Query

May 13, 2015

I am trying to send a report to a list of employees. I have a query that generates the report into the layout I want and includes the e-mail address of who the recipient should be. The report looks something like this:

--Employee Name--
--E-mail address---
-Hire Date----Tenure-
-Attendance-
-Quality Score-
...etc...

I need to send, for each row in the query, this report based on the results of that particular row. How would I go about making a e-mail template that would be used, or at least sending the report as a PDF attachment? I've seen the sendObject method.

View 1 Replies View Related

Forms :: Multi List To Select Reports Send By Email

Mar 13, 2015

I am trying to create a Multi list to select reports to send by email. I am able to select one report to send but when I change the list box to multi select it doesn't work.

The codes I have been using are;

Private Sub Command2_Click()
On Error GoTo ErrorHandler
Dim sAddr As String, sSubj As String, sFor As String
If IsNull(ReportList) Then Exit Sub

[Code] ....

View 4 Replies View Related

Reports :: Sending Multiple Email - Unknown Message Recipients

Oct 15, 2013

I have this code below its giving me the RUntime 2295 error. Unknown message recipients. I have check all email addresses and they are fine. Everything else works except when it gets to Outlook and do not send email. I did a Debug Print but didnt understand how to do it.

Private Sub Command9_Click()
Dim rst As DAO.Recordset
Dim strEmailAddress
Set rst = CurrentDb.OpenRecordset("T_Inspectors")
Do Until rst.EOF

[Code] ....

View 2 Replies View Related

Reports :: Send Email Based On Query From A Specific Form

Jun 27, 2013

I'm trying to send at report based on a Query from a specific form.

Everything is (almost) working fine, except the fact that I can't get a criteria into DoCmd.SendObject method.

My code is:

Private Sub Kommandoknap212_Click()
On Error GoTo MailTilGodkendelse_Err
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70
Dim MailAtt As String
Dim intSearch As String

[Code] ....

View 6 Replies View Related

Modules & VBA :: Code For Multiple Reports And Files To Email From A Record?

Nov 20, 2013

i have a database which has new customers added daily (currently we post all documentation)

when a new record is filled in the customer receives:

cover letter/invoice(report), book page(report) and a book (pdf, always the same) the reports are created from the record

rather than post all these documents i would like to email them to each customer in 1 email with the reports in pdf format.

Example:

CC (email feild from the record)

Subject (pre filled with "Stop Bullying Now! Books 4 Schools order")

Body (pre filled with "Dear ([Contact]if possible) Please find enclosed your documentation for your recent telephone order bla bla bla and our logo.jpg if possible)

then i would like to attach to the email the cover letter/invoice(report), book page(report) and the book (pdf) from the hard drive (r.eports changed to pdf)

if i can press a button on the form to send it that would be good.

if i could link it to a query to send a batch of them that would excellent.

The Database is Named: b4s.mdb
The table is called: Main Table
The input form is called: Client
The letter/invoice report is called: b4sletinv
The Book page report: b4sbook
The pdf book is located at c:Documents and SettingsAdministrator4sfinal.pdf
The query for the batch is called: coverlet&proforma

View 2 Replies View Related

Modules & VBA :: Generate And Send By Email Individual Reports Based On A Query

Mar 19, 2014

I am trying to make an automation in order generate reports based on query ( person name,person email address ) , export them to a folder in PDF and then send them one by one to each person email address.

What is happening:

- the reports are generated and exported fine
- the email are sent to the right addresses but the first person receives the correct report , the second person receives the report from the first person plus its own report and so on.

Here is my code :

Private Sub MakeReportSendEmail_Click()
Dim MyDB As DAO.Database
Dim MyRS As DAO.Recordset
Dim strSQL As String
Dim strRptName As String

[Code] ....

View 14 Replies View Related

General :: Auto Email Personal Reports To Multiple People Automatically

Nov 21, 2013

I have put together some Access 2010 Databases and I am about to embark on another soon. I have been given a request that I can't seem to solve yet so I am goint to ask it here as a good starting point. The goal is to build a database for a magazine. They want to be able to run a report to generate slips for subscribers whose subscriptions have expired. I would like to, if possible, generate reports and send them to the respective clients via email, all with the push of 1 button. I don't want to have to find each subscriber and do one off reports.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved