Link to home
Start Free TrialLog in
Avatar of amcpike
amcpike

asked on

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

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.
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

<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
Avatar of amcpike
amcpike

ASKER

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.
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.
Avatar of amcpike

ASKER

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
Avatar of amcpike

ASKER

only those loans** with >50% of their collateral properties being in the assessment area.
with the sample you uploaded, what is the result you are expecting? and explain
ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of amcpike

ASKER

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