Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

send object with data

Status
Not open for further replies.

mikeasa

Technical User
Dec 23, 2005
133
US
I am trying to automate sending the form out in an email with the data. I created a macro to send form but it does not populate the fields with the data. Can some one help me with this.
 
It will be easier to email a report as an attachmet then to send the form. If each record as a primary key(ID) you can set it up where you will attach only the report pertaining to the form.

Creating a Report
1) Click on Reports/New/Report Wizard
2) select the query you are using for the from then click OK
3) Select the fields that you want to appear on the report.
4) Group the data by selection a field (yes or no)
5) Sort the data by a particular fields (yes or no)
6) Arrange the field to you specification.

Here is the VB that will help to narrow down the reports on the form.

DoCmd.OpenReport stDocName, acPrint, , "[ID]=" & [ID]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top