Solved

How to create and email a PDF of a single Form in MS Access instead of an entire object

Posted on 2015-01-06
9
152 Views
Last Modified: 2015-01-15
I am trying to create a command button that will filter a form to only generate a PDF of the current Form and then email that PDF.  I know how to do this for the entire object. Similarly, I know how to restrict the Form users' view of other form records, which then allows you to send a PDF of just that present record. However, I want users to be able to go back and edit the forms if need be (have access to the entire Object) but also to be able to submit a PDF of just the record they are working on.
0
Comment
Question by:amcpike
  • 4
  • 4
9 Comments
 
LVL 119

Expert Comment

by:Rey Obrero
Comment Utility
<edit the forms if need be (have access to the entire Object) > by user ????

are you sure about this????

 looks like you want to see the worms inside the can
0
 

Author Comment

by:amcpike
Comment Utility
I think so. The form is to be filled out prior to committee approval, and if terms change after committee review then the user will have to edit the form to reflect the changes.

Not completely necessary. I could have them request to make a change through me, but I don't know if that's the best approach either.
0
 
LVL 119

Expert Comment

by:Rey Obrero
Comment Utility
ok,, so it is the record that you want the user to edit
(I thought you want the user to edit/alter the form)

let them do what they are doing now, then if there are some revision to be made,
Open the form in Edit view to edit the record.
0
 

Author Comment

by:amcpike
Comment Utility
This is an example of what I'm talking about. I can't upload the entire database for customer privacy purposes.

tblLoanInfo gives two loans
tblCollateralAddress gives the census tract numbers for the collateral properties associated with each loan
tblAssessmentArea gives the census tracts that qualify as being in our assessment area
qryCollateralAAGroupBy shows me all of the collateral properties that qualify as being in the AA
qryCollateralAAFirst shows just the first of the collateral properties that qualify as being in the AA

I want a query that shows only those where >50% of the collateral properties are in the AA, or at least what percent of properties are in the assessment area. Currently this just pulls in any loan with at least one collateral property in the assessment area.
Example-Collateral-Database.accdb
0
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 

Author Comment

by:amcpike
Comment Utility
only those loans** with >50% of their collateral properties being in the assessment area.
0
 
LVL 119

Expert Comment

by:Rey Obrero
Comment Utility
with the sample you uploaded, what is the result you are expecting? and explain
0
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 500 total points
Comment Utility
see query3, not sure if this is what you want
Example-Collateral-Database.accdb
0
 
LVL 31

Expert Comment

by:Helen_Feddema
Comment Utility
It would be better to create a report filtered by the form's key value, and export it as a PDF.  It is generally not a good idea to print a form, either to a printer or to a PDF.
0
 

Author Comment

by:amcpike
Comment Utility
Query 3 looks to be what I'm wanting. Thanks for the assistance! I'll let you know if I have further questions.
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now