Results 1 to 3 of 3
  1. #1
    cowboy is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Jan 2010
    Posts
    291

    Form and Report handling sorted query different

    I have a query that is sorted by column b.



    My forms record source is this query, when I open the form the order of records is ordered just like the query, sorted by column b.

    My report record source is the same query, when I open the report the order of the records is ordered by column a, which is the primary column.

    Why is my report bypassing the sorting of my query?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Sorting in reports has to be set up in Sorting and Grouping. In 2003, with the report open in design view, View/Sorting and Grouping.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    the sorting/grouping of the form/report will override the record source

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

Similar Threads

  1. Multiple Query Results Sorted Together
    By Rawb in forum Reports
    Replies: 1
    Last Post: 12-10-2009, 04:05 PM
  2. Report with Parameter Query/Form
    By maggioant in forum Reports
    Replies: 0
    Last Post: 10-09-2009, 09:48 AM
  3. Replies: 0
    Last Post: 07-19-2009, 12:19 PM
  4. Handling dates in queries
    By mrk68 in forum Access
    Replies: 4
    Last Post: 03-23-2009, 06:35 AM
  5. Replies: 0
    Last Post: 03-05-2009, 12:27 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