Results 1 to 4 of 4
  1. #1
    msnarayanan is offline Novice
    Windows 8 Access 2013
    Join Date
    Sep 2015
    Posts
    5

    grouping based on dob

    dear all



    i have created a report based on query.

    i have made three groupings - 1. Family Name 2. Generation 3. Father's Name

    while the report shows correct data pertaining to each group, the "Father's Name" group
    does not feature based on date of birth.

    I want this group is indicated in that order based on the date of birth.

    can i make a conditional grouping?

    thanks

    m s narayanan

  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,931
    Don't really understand the issue. What does 'group does not feature based on date of birth' mean?

    Not sure you really need a Father's Name group. Can there be more than one Father for each Family/Generation?

    What data is in the Detail section?
    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
    msnarayanan is offline Novice
    Windows 8 Access 2013
    Join Date
    Sep 2015
    Posts
    5

    grouping

    Quote Originally Posted by June7 View Post
    Don't really understand the issue. What does 'group does not feature based on date of birth' mean?

    Not sure you really need a Father's Name group. Can there be more than one Father for each Family/Generation?

    What data is in the Detail section?
    dear sir
    i am really sorry i have not made my issue understandable.

    in the "detail" section i have the following fields.

    name age wife name father name

    suppose there are three children through "father", in the table i key the names as follows:

    name (of the first child) xxxxx ageL date/time field wife name: yyyyyyyy father's name: zzzz
    (second child) aaaa zzzz

    simiarly the second son has three issues
    the same thing is repeated - but the father's name differs.

    to get over this issue, i just added serial nos. before "father name" it worked.

    what i want to know his whether grouping can be done in relation to the date of birth.

    hope i have made my issue somewhat clear.

    expecting your advice

    thanks

    m s narayanan

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    Think would need a compound value of FatherDOB_Name. Instead of group on Father's Name, group on an expression that concatenates the two values. This is in case multiple fathers have same DOB. The date must be formatted as YYYYMMDD. So like:

    Format([DOB], "YYYYMMDD") & FatherName
    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.

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

Similar Threads

  1. Replies: 3
    Last Post: 06-27-2013, 10:18 AM
  2. Replies: 1
    Last Post: 01-16-2013, 06:48 PM
  3. Replies: 1
    Last Post: 01-16-2013, 04:41 PM
  4. Help with grouping
    By RachelBedi in forum Queries
    Replies: 1
    Last Post: 11-05-2012, 12:55 PM
  5. Replies: 5
    Last Post: 06-22-2011, 08:47 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