Results 1 to 6 of 6
  1. #1
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 7 64bit Access 2003
    Join Date
    Feb 2011
    Posts
    2,073

    Grouping Expressions

    Can't seem to get group expressions correct. I need two groups:



    [LastName] where [field1] = True (Sorted by last name)
    [LastName] where [Field2] = True (Sorted by last name)

    Then, how do I get to the section properties so I can specify NewRowOrCol for the second of the two groups.

    Thanks,
    Bill

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    Is this related to:
    https://www.accessforums.net/reports...umn-34808.html
    https://www.accessforums.net/reports...ter-34814.html

    Why do you need grouping expressions?

    Are you using the report Grouping & Sorting feature?

    Why are there two fields?

    Do you want to provide db for analysis?
    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
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 7 64bit Access 2003
    Join Date
    Feb 2011
    Posts
    2,073
    I want one group in column 1 and the 2nd group in column 2. I don't know to do that without using Grouping and Sorting. I'm able to specify NewRowOrCol in the group header properties, so that's working.

    It's easy to specify a group where [field1] is true and another group where [field2] = true. The problem is that I don't want the groups sorted on [field1] or [field2]. Rather, I want each of the two groups to be sorted on the field [LastName].

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    Don't understand, if you have the grouping working then setting the field for sorting should be simple.
    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.

  5. #5
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 7 64bit Access 2003
    Join Date
    Feb 2011
    Posts
    2,073
    Sorting is based on the field that defines the group. The problem is how to get the records within the group to sort on the LastName field. Anyway, all our efforts here have gone for naught as my client just called and wants an entirely different format for the report. I'm irritated to say the least...............I would still like to know how to control the sort other than on the field name specified in the Grouping and Sorting.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    I am using Access 2007/2010.

    I have a report that groups by FAAID then by Use then sorts by SectionID. The sorting takes place within the groups. What else would it do?
    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. Expressions in DLookUp
    By Jim Pap in forum Programming
    Replies: 1
    Last Post: 12-22-2012, 12:02 PM
  2. Expressions between two tables
    By ExcelleradRob in forum Access
    Replies: 2
    Last Post: 09-28-2012, 12:45 PM
  3. Query Expressions
    By Andrea in forum Queries
    Replies: 6
    Last Post: 03-03-2011, 03:57 PM
  4. Nested If Expressions
    By Lynn in forum Forms
    Replies: 5
    Last Post: 03-25-2010, 10:11 AM
  5. Conditions / Expressions
    By Mark344 in forum Access
    Replies: 1
    Last Post: 02-19-2010, 08:15 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