Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2008
    Posts
    3

    Question Unanswered: Problem with Report based on Query

    Hi:
    I created a query to extract data from a linked table. The query does not have any sorting. Then I created a Report based on the query. The report does not have any grouping or sorting.

    The issue is: When I run the report I get the same data that I get from the query, but it comes in a different order.


    I have double checked the query and the report and they do not have any sorting or grouping of any kind.
    By the way I am using Access 2007.

    Any ideas?

    Thanks.

  2. #2
    Join Date
    Nov 2007
    Location
    Adelaide, South Australia
    Posts
    4,049
    Easiest way is to apply a sort order. Surely there is something you can sort on that is logical.
    Owner and Manager of
    CypherBYTE, Microsoft Access Development Specialists.
    Microsoft Access MCP.
    And all around nice guy!


    "Heck it's something understood by accountants ... so it can't be 'that' difficult..." -- Healdem
    "...teach a man to code and he'll be frustrated for life! " -- georgev

  3. #3
    Join Date
    Nov 2008
    Posts
    3
    I changed the query and sort it by one of the fields.
    When I ran que "new" query the data came out sorted as specified. But when I used the "new" query on the report, the data came out in a different order !!!!

    The report is doing something to the data, and I cannot find what it is.

    Thanks.

  4. #4
    Join Date
    Jun 2005
    Location
    Richmond, Virginia USA
    Posts
    2,763
    Provided Answers: 19
    If I remember correctly, Reports ignore any sorting done in an underlying Query; you have to sort from within the Report.
    Hope this helps!

    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  5. #5
    Join Date
    Nov 2008
    Posts
    3

    Talking

    Thanks. I will sort within the report.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •