Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2010
    Posts
    21

    Save to PDF Button?

    For the final step of my purchase order program/form, I need a button that saves the form to a .PDF file. I don't want it to save as a new record, just have it go and save as a .PDF. When I would click the button, it would save just the form to a .PDF and it would come up with the window where you would select your save location.

    What would be the event/code to be able to do this?

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    You can create a report that gets its values from the form instead of a query/table, and export that. You'd have control sources like:

    =Forms!FormName.ControlName

    You'd export it with

    DoCmd.OutputTo
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Join Date
    Apr 2010
    Posts
    21
    Thanks for the reply, I got it working the way I wanted it to Thanks

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Report changes will not save
    By phyllisgirl in forum Reports
    Replies: 4
    Last Post: 05-07-2012, 09:28 PM
  2. Add a field on save.
    By emccalment in forum Forms
    Replies: 0
    Last Post: 02-23-2010, 04:41 PM
  3. Replies: 6
    Last Post: 02-09-2010, 07:53 AM
  4. VB coding for saving when click on save button in form
    By cwwaicw311 in forum Programming
    Replies: 1
    Last Post: 02-04-2010, 11:11 PM
  5. Save only 3 of 4 fields
    By Schwagr in forum Forms
    Replies: 0
    Last Post: 03-24-2006, 05:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums