Results 1 to 4 of 4
  1. #1
    Maa421s is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Jun 2013
    Posts
    2

    Angry Dynamically Sort Report That Already Has Group By (Access 2003)


    I must use XP/Access 2003 to solve this problem for reasons I won't get into.

    I have a report with a Group by on City.
    The users need to be able to sort by Coordinator within that OR by Client Name based on a selection they make on the form that opens the report.

    -- I have tried to set .OrderBy
    -- I have tried to set .RecordSource to different queries with order by hardcoded in them (I only have 2 sort options fortunately)

    Is there a way to dynamically change the "Sorting and Grouping" defined in the report? This seems to be the only sorting that the report is responding to.

    If this is totally obvious, forgive me as I have very little Access 2003 Reporting experience.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,920
    Google: Access report dynamic sort

    Here is one http://msgroups.net/microsoft.public...-sorting/93304
    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
    Maa421s is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Jun 2013
    Posts
    2
    Great! Thank you June7! It worked flawlessly.

    I don't know how to mark your reply as the answer...

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,920
    This forum doesn't have that feature. Can mark thread as solved, which I will 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. Group by one field, sort by another
    By tylerg11 in forum Reports
    Replies: 4
    Last Post: 03-05-2013, 01:17 PM
  2. Replies: 2
    Last Post: 10-18-2012, 06:56 PM
  3. Group Header and then a Sort
    By bbulla in forum Reports
    Replies: 1
    Last Post: 09-29-2011, 09:56 AM
  4. Replies: 5
    Last Post: 08-24-2010, 02:32 PM
  5. Access 2003, sort order property of a form
    By Rick West in forum Forms
    Replies: 11
    Last Post: 09-17-2009, 08:28 PM

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