Results 1 to 3 of 3
  1. #1
    psq77 is offline Novice
    Windows XP Access 2003
    Join Date
    Sep 2010
    Posts
    2

    Need Help with Report

    Hello everyone....



    I'm hoping someone can help me build this report.....

    I have a database with 3 tables: Applicant, Under18, Over18

    The Applicant table houses information about the head of household (Name, Address, phone number, Age, etc). It has a primary Key that is used as the relationship to the other two tables

    Tables Under18 and Over18 house information about the dependants in each household. They have fields such as Name, DOB, Age, etc.

    I need a report that shows the Head of household and Address and then the number of children of each age group. For instance, if there are 3 children in the household, ages 1, 5, and 9 then I need the report to show:

    Name_______ Address______0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15.......
    -------------------------------------------------------------------
    Smith, John 3 Main St_______ 1_____ 1_____ 1

    The report also needs to calculate how many of each age group in total at the bottom. I can do that once I have the above figured out.

    If anyone can help, it is much appreciated.
    Last edited by psq77; 09-27-2010 at 10:18 AM. Reason: Had to add the underscore so that the numbers of each age lined up with the ages so it is clear what I needed

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    Well I will start things off on a bad foot by noting your table structure is very bad. The Over18 and Under18 needs to be merged into one table 'Children' perhaps. (Over or under age 18 is self evident by DOB - plus of course a childs age changes each year so they will move from table to table)

    Be that as it may; you would have a classic Parent-Child (1-many) table relationship - literally in this case.

    Make a main form/report on the parent table. Then insert a sub form/report that is sourced on the child(s) table. Getting the results to present side by side, rather than the norm up/down is probably a waste of time.

    It is easy with Access to count (i.e. by Age). That is an AggregateQuery feature. You can insert that as a separate sub form/report.

    As I tell all novices; one really must have a textbook to design a database. Examples of all these tasks will be there. Easily found at Amazon or a big book store. Forums are great but a textbook will save you a ton of time.

    Hope this helps.

  3. #3
    psq77 is offline Novice
    Windows XP Access 2003
    Join Date
    Sep 2010
    Posts
    2
    Since I'm building this database for a non-profit org they have specified how they want the data organized, hence the under18 and over18 tables. They have specified how they want this particular report to look, and indicated they want it presented side by side. They don't need the actual ages on the report, just the number of each age in the houshold and a total for all at the bottom. Is it possible?

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

Similar Threads

  1. Replies: 2
    Last Post: 08-25-2010, 01:42 PM
  2. Replies: 3
    Last Post: 05-21-2010, 03:57 PM
  3. Replies: 1
    Last Post: 02-02-2009, 05:52 AM
  4. Replies: 0
    Last Post: 10-24-2008, 11:20 AM

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