Results 1 to 4 of 4
  1. #1
    Fyeung is offline Novice
    Windows XP Access 2007
    Join Date
    May 2013
    Posts
    4

    How to print selected records of a Report

    Hi everyone,



    Do you have any idea on how to print selected records of a Report? I have created a Access database and a Report of 3,000+ records for all of our countries' subsidiaries, but I just want to select and print out the records of specific countries (say, UK).

    Please advise, thanks.

    Best Regards
    Fred

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Apply filter to the report. Options:

    1. manually setting static filter in report's RecordSource

    2. dynamic parameterized query - either with popup prompts or reference to control on form
    http://www.datapigtechnologies.com/f...mtoreport.html

    3. pass filter criteria to report when it opens - with macro or VBA
    again, reference controls on form
    DoCmd.OpenReport "report name", , , "Country='" & Me.tbxCountry & "'"
    Review: http://allenbrowne.com/ser-50.html
    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.

  3. #3
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    just to add on to J7 advice: fundamentally you need a report with just the records wanted to print. Your post discusses a report with 3000 records and a desire to print a subset - - but that is putting the cart before the horse. You need to think in terms of first creating a report that has just the records wanted to print - even if it exists only for the purpose of printing.

    A filter per J7 instruction - or - copy your report and create for it a new records source which is a query and make that query design to have just the records you want printed.

  4. #4
    Fyeung is offline Novice
    Windows XP Access 2007
    Join Date
    May 2013
    Posts
    4
    Many thanks for your help

    Rgds,
    Fred

    Quote Originally Posted by June7 View Post
    Apply filter to the report. Options:

    1. manually setting static filter in report's RecordSource

    2. dynamic parameterized query - either with popup prompts or reference to control on form
    http://www.datapigtechnologies.com/f...mtoreport.html

    3. pass filter criteria to report when it opens - with macro or VBA
    again, reference controls on form
    DoCmd.OpenReport "report name", , , "Country='" & Me.tbxCountry & "'"
    Review: http://allenbrowne.com/ser-50.html

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

Similar Threads

  1. Replies: 4
    Last Post: 02-12-2015, 04:17 PM
  2. Report print two records per page
    By dwilson in forum Reports
    Replies: 3
    Last Post: 07-21-2012, 10:48 AM
  3. Iterate through records and print report
    By cap10101 in forum Programming
    Replies: 5
    Last Post: 11-25-2010, 04:09 PM
  4. Replies: 2
    Last Post: 09-18-2010, 07:52 AM
  5. Replies: 7
    Last Post: 02-25-2010, 12:32 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