Results 1 to 6 of 6
  1. #1
    gehrenfeld is offline Novice
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Posts
    9

    Sort Report

    Anyway to program a report that when you click on a field or label it will resort the report on that field while you're viewing the report?

  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,770
    Maybe in Report View, not Print Preview, and if there is no Sorting & Grouping setup. Reports are not intended to be interactive.
    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
    gehrenfeld is offline Novice
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Posts
    9
    Report looks better than a query. So was trying to see when I view a report if I could sort on different fields and have the report reload with that sort.

  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,770
    Try what I suggested - Report View - and code to set the Order By property. I've never tried.
    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
    gehrenfeld is offline Novice
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Posts
    9
    You are correct that reports are for static view and not dynamic. Will have use a query view.

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    June suggested Report view, which is interactive. I have used it to let the user change the criteria and sorting on the fly. Most of us never let users in tables or queries directly.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Sort In Report
    By data808 in forum Access
    Replies: 9
    Last Post: 09-19-2014, 08:21 AM
  2. Advanced Sort of Report
    By Mpike926 in forum Access
    Replies: 7
    Last Post: 08-29-2012, 11:59 AM
  3. Report - Can you sort on a formula
    By Lisa Perry in forum Reports
    Replies: 9
    Last Post: 06-07-2012, 03:42 PM
  4. Carrying over sort to report
    By eww in forum Programming
    Replies: 2
    Last Post: 03-04-2011, 03:39 PM
  5. sort data in the report
    By rawandjamal in forum Reports
    Replies: 1
    Last Post: 12-23-2010, 07:07 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