Results 1 to 6 of 6
  1. #1
    Khalil Handal is offline Competent Performer
    Windows 10 Access 2010 32bit
    Join Date
    Jun 2016
    Posts
    242

    Report for Totals for each category

    Hi,
    I have tblNames, tblPayments, tblDeductions, tblTypes. The tblTypes has four fields that shows the type of payment or deduction (example: Elecricity, Water, Rent, Tution).
    I want to buld a report that shows the total of payments for each type (category) that each person payed.

    Example:


    Name Total of Electricity Total of Tuition ....Total Deduction
    Tom 540 250 120

    Note: For each payment the type of payment must be selected.

    How can this be done?

    Khalil

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  4. #4
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    tblTypes has four fields that shows the type of payment or deduction
    That is a design error. There should be one field for types with a record for each type. I suggest you research db normalization and see if you've designed your tables like spreadsheets because it sure seems that way. If you don't fix it, you will continue to have issues.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  5. #5
    Khalil Handal is offline Competent Performer
    Windows 10 Access 2010 32bit
    Join Date
    Jun 2016
    Posts
    242
    Hi,
    Thank you for the links provided. I am watching some of the videos.
    As for the table tblTypes, I now have it with a primary Key and one field as follows:
    pkType, TypeDescription
    This table now has four records only with primary keys 1, 2, 3, 4
    I will work on my report after these changes and see how it goes.
    Thankyou all

    Khalil

  6. #6
    Khalil Handal is offline Competent Performer
    Windows 10 Access 2010 32bit
    Join Date
    Jun 2016
    Posts
    242
    Hi,
    Thank you all managed to have what I want.

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

Similar Threads

  1. Sum totals and sub totals in report
    By Rogeman in forum Reports
    Replies: 1
    Last Post: 12-12-2018, 10:23 AM
  2. Replies: 1
    Last Post: 01-22-2016, 04:36 AM
  3. Replies: 5
    Last Post: 05-10-2014, 09:24 AM
  4. Spell out category code letters in a report.
    By IzzyKap in forum Reports
    Replies: 1
    Last Post: 02-26-2013, 02:12 PM
  5. Replies: 5
    Last Post: 12-06-2011, 11:18 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