Results 1 to 4 of 4
  1. #1
    gjpcrest is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Sep 2016
    Location
    Athens Greece
    Posts
    9

    Create a printable report of certain records

    Greetings,

    I would appreciate detailed instructions on how can I create a printable report of various records that are in an Access 2007 database based on the ID mumber (primary key mumbering) instead of all the records that I usually have as a printout. To be more specific, I'm in the need to display a list of the certain records out of 82 entered so far, ie records 75 through 81. How can I go about it? Do I need an extra form that should correlate with the report? And if so, how can I set it as a popup window whenever I click to display the report and enter the first and last of printable/displayed records?
    Thank you in advance for your help on the matter
    George

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    Make a query that pulls only the records you want. Be it a range or IDs, etc.
    This is done via a form. Enter the ranges, or the iD's.
    select * from table where ID between forms!frmRpt!txtStart and forms!frmRpts!txtEnd.

    the report will use this query.

  3. #3
    gjpcrest is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Sep 2016
    Location
    Athens Greece
    Posts
    9
    Dear ranman,
    Thank you for your reply. I'll try to enter the criteria in a query form and set a new report and I inform you of the results. Thanks again for your time in answering.

  4. #4
    gjpcrest is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Sep 2016
    Location
    Athens Greece
    Posts
    9
    Dear ranman,
    I have followed your instructions (think I did it right though) and have created a query table where I entered as a Field the “MemberID”, the Table was set to “Members”, a checkmark in “Show” and at the Critieria the “[forms]![frmRpt]![MemberIDStart] And [forms]![frmRpt]![MemberIDEnd]” was typed in. Then, I chose to open a new report via the Report Wizard and choose from the Table/Queries the query that was just created, where the only option was of course the “MemberID” field. I opt this to the Selected Fields and after selecting Finish the popup “Enter Parameter Value” window came up where I entered the value 10 as a starting record and then the value 15 as the ending value of the records that I wanted to be displayed. The Report appeared with nothing on but the name of the Report and a small shaded box with the word “ Member ID” written in it, and at the bottom of the page the todays’ date and page # were displayed. Am I doing something wrong in the parameter entered in the Criteria field or did I choose a wrong key? Shouldn’t display the contents of the records 10 through 15? Or at least display something in number series?


    Please help me figure out what has gone wrong.
    Thank you

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

Similar Threads

  1. Replies: 3
    Last Post: 05-18-2015, 08:46 PM
  2. Inserting printable images in forms
    By Sash in forum Forms
    Replies: 1
    Last Post: 03-17-2014, 11:05 AM
  3. Replies: 6
    Last Post: 03-27-2013, 05:45 PM
  4. Replies: 1
    Last Post: 10-22-2012, 05:52 PM
  5. Replies: 1
    Last Post: 01-09-2012, 05:06 PM

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