Results 1 to 11 of 11
  1. #1
    CammRobb is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2011
    Posts
    4

    Displaying multiple records in a report.

    Hey all,



    I'm having a hellish time trying to get my report to display properly.

    Here's what it should look like



    Here's what mine looks like



    What the problem is - the report is only putting one item on each invoice, and I have NO idea how to resolve this. The class for this was a while ago, and I had a lot of stuff go on between then and now, so it's kinda slipped my mind.

    If you need the database emailed to you or whatever, then I can do that.

    Please help!

  2. #2
    khalid's Avatar
    khalid is offline MS-Access Developer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2010
    Location
    Kuwait
    Posts
    244
    How you store the Invoice data to your tables? do you have invoice table (main table) and a table (sub table) with one to many relationship, where related records will be saved to that table with the foreign key:

    Invoice table
    Invoice ID: (Primary Key)
    1
    2
    3
    ======
    Second Table
    Invoice ID (Foreign Key)
    1
    1
    1
    2
    2
    2
    3
    ==========
    If you normalize your data in such a way that your Invoice ID (PK) is the (FK) in another table (the related record table) the it will be easy for you to get the desire report.
    Just you need to create a table and call the desired field in the report detail portion.
    Report detail portion will show all the detailed record you want to show in detail. you can use report header for the field you want to show as a header data.
    In the report footer you can use formula (sum, avg, etc) to calculate your data accordingly.

    hth.
    Last edited by khalid; 06-10-2011 at 06:17 AM. Reason: typo

  3. #3
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536
    Look at this video. It may give you a clue on how to fix. Difficult to analyze without seeing the db. You may want to post a sanitized copy. Make sure to do a compact and repair before attaching here.

    http://www.datapigtechnologies.com/f...ccessrpts.html

    Alan

  4. #4
    CammRobb is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2011
    Posts
    4
    Quote Originally Posted by alansidman View Post
    Look at this video. It may give you a clue on how to fix. Difficult to analyze without seeing the db. You may want to post a sanitized copy. Make sure to do a compact and repair before attaching here.

    http://www.datapigtechnologies.com/f...ccessrpts.html

    Alan
    Where should I upload it to? Do you have a dropbox, I could put it in there.

  5. #5
    khalid's Avatar
    khalid is offline MS-Access Developer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2010
    Location
    Kuwait
    Posts
    244
    Go to Advance below the post below the editing panel, go to manage attachments and upload your sample db.

  6. #6
    CammRobb is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2011
    Posts
    4
    Quote Originally Posted by khalid View Post
    Go to Advance below the post below the editing panel, go to manage attachments and upload your sample db.
    Right, I had to delete the report to get it under 500kb, uploaded (hopefully!)

    Thanks for the help guys

  7. #7
    khalid's Avatar
    khalid is offline MS-Access Developer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2010
    Location
    Kuwait
    Posts
    244
    Hi, you did not attached the report, however I am attaching the sample report based on your requirement with a query. you need to format the report with your logo and desire.

    Data has been removed from the report in order to upload it back in addition with the generated report and query. please add some data to the tables to analyze the report.

  8. #8
    CammRobb is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2011
    Posts
    4
    Quote Originally Posted by khalid View Post
    Hi, you did not attached the report, however I am attaching the sample report based on your requirement with a query. you need to format the report with your logo and desire.

    Data has been removed from the report in order to upload it back in addition with the generated report and query. please add some data to the tables to analyze the report.
    A million thank yous my friend! You've saved me so much time!

  9. #9
    khalid's Avatar
    khalid is offline MS-Access Developer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2010
    Location
    Kuwait
    Posts
    244
    Quote Originally Posted by CammRobb View Post
    A million thank yous my friend! You've saved me so much time!
    Glad to hear that you got some help

  10. #10
    taiba is offline Novice
    Windows XP Access 2007
    Join Date
    Jul 2012
    Posts
    1
    thank you very much, i got a gud idea after viewing your report

  11. #11
    khalid's Avatar
    khalid is offline MS-Access Developer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2010
    Location
    Kuwait
    Posts
    244
    Quote Originally Posted by taiba View Post
    thank you very much, i got a gud idea after viewing your report
    You are welcome taiba. I am glad that you got some idea viewing my post.

    Replied via samsung galaxy sii

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

Similar Threads

  1. Displaying multiple records on one form
    By Juicejam in forum Forms
    Replies: 12
    Last Post: 12-12-2011, 07:02 PM
  2. Displaying Multiple Relationships
    By paddon in forum Reports
    Replies: 7
    Last Post: 12-06-2010, 04:25 PM
  3. Lookup Columns Multiple Records in report
    By schultzy in forum Reports
    Replies: 1
    Last Post: 01-02-2010, 12:21 AM
  4. Report to display multiple records by date.
    By af01waco in forum Reports
    Replies: 1
    Last Post: 03-21-2009, 02:12 PM
  5. How do I choose multiple records for a report
    By admaldo in forum Reports
    Replies: 2
    Last Post: 03-03-2006, 06:02 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