Page 2 of 2 FirstFirst 12
Results 16 to 29 of 29
  1. #16
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929

    I did not upload anything.

    I downloaded your posted file.

    Just do the edits.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  2. #17
    ekryez is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    May 2014
    Posts
    25
    Quote Originally Posted by June7 View Post
    I did not upload anything.

    I downloaded your posted file.

    Just do the edits.
    that doesn't work still prints all the records inside.

  3. #18
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Then I don't understand what you want.

    The Print All button prints each project record to a single 1-page PDF.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #19
    ekryez is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    May 2014
    Posts
    25
    Quote Originally Posted by June7 View Post
    Then I don't understand what you want.

    The Print All button prints each project record to a single 1-page PDF.
    The Print All Button Publish Save each Record, in Separate file Project Name + Project Number .PDF at C:\Reports. DONE.
    Problem, instead of publishing inside the report only the respective record, publishes all.

  5. #20
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Do not understand "Problem, instead of publishing inside the report only the respective record, publishes all."

    I open the report directly from Navigation pane and each record shows on separate page because of the size of the Detail Section. Could set ForceNewPage property.

    Why is this a problem? What do you want the report to do? If the code produces the appropriate output, why is the report setup a problem?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #21
    ekryez is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    May 2014
    Posts
    25
    Create the Folder in C:\Reports, Click Print All, check one of the PDF Reports Published in C:\Reports

  7. #22
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    I've already done that several times. I get 5 PDF documents, each shows one project record.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  8. #23
    ekryez is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    May 2014
    Posts
    25
    I think you don't get it. open the file and scroll to the end

  9. #24
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    I did that. I view one PDF at 50%. The PDF is ONE PAGE and ONE RECORD. There is nowhere to scroll. These are the 3 lines of edited code:

    DoCmd.OpenReport "Total Report", acViewPreview, , "ProjectNumber='" & !ProjectNumber & "'"
    DoCmd.OutputTo acOutputReport, "Total Report", acFormatPDF, MyPath & MyFileName
    DoCmd.Close acReport, "Total Report"
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  10. #25
    ekryez is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    May 2014
    Posts
    25
    you sure you clicking Print All? Delete all the Files in C:\Report, Click on Print All, Open a Report Pdf File

  11. #26
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Yes, I am sure I click your Print All button. Done, Done, Done multiple times.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  12. #27
    ekryez is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    May 2014
    Posts
    25
    Quote Originally Posted by June7 View Post
    I did that. I view one PDF at 50%. The PDF is ONE PAGE and ONE RECORD. There is nowhere to scroll. These are the 3 lines of edited code:

    DoCmd.OpenReport "Total Report", acViewPreview, , "ProjectNumber='" & !ProjectNumber & "'"
    DoCmd.OutputTo acOutputReport, "Total Report", acFormatPDF, MyPath & MyFileName
    DoCmd.Close acReport, "Total Report"
    Sorry I missed this, works great, Big Thank you, let me try in Real thing and will buy you Dinner

  13. #28
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    I may have edited that post to add the code lines after you first read it. Glad you got it working.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  14. #29
    ekryez is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    May 2014
    Posts
    25
    Quote Originally Posted by June7 View Post
    I may have edited that post to add the code lines after you first read it. Glad you got it working.
    June sorry, I was doing and doing 10 things at the time, it works like a charm. some little problems but on DB File naming so nothing to do with this. Great HELP, and thank you for your patience and your Brilliant simple solution.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Save a report file without preview
    By alex__ice in forum Reports
    Replies: 2
    Last Post: 04-16-2013, 08:13 AM
  2. Run Access code, from separate excel...
    By redbull in forum Programming
    Replies: 1
    Last Post: 10-16-2012, 08:50 AM
  3. Replies: 2
    Last Post: 08-05-2012, 06:32 PM
  4. Replies: 7
    Last Post: 11-23-2011, 08:14 PM
  5. How do you file save an 'Attachment' content through code?
    By morespamforya in forum Programming
    Replies: 3
    Last Post: 08-06-2010, 08:58 AM

Tags for this Thread

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