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
157 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
9 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 40534492
<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
ID: 40534501
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 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 40534512
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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:amcpike
ID: 40534562
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
 

Author Comment

by:amcpike
ID: 40534567
only those loans** with >50% of their collateral properties being in the assessment area.
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 40534658
with the sample you uploaded, what is the result you are expecting? and explain
0
 
LVL 120

Accepted Solution

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

Expert Comment

by:Helen_Feddema
ID: 40535898
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
ID: 40539172
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

732 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