Results 1 to 4 of 4
  1. #1
    madcreek is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2010
    Posts
    4

    Sorting date columns in query


    I's new to Access. I used the Design window for write a query showing payments by date (month/year). The query seems to work correctly, except that the date labeled columns don't sort correctly. I did check the field type is date/time. Also, I tried setting the Sort: in the query window to both--once tried 'ascending' and then tried 'descending'. Neither works. The dates aren't in order. can you help?

  2. #2
    SoftwareMatters is offline Access VBA Developers
    Windows XP Access 2003
    Join Date
    Mar 2009
    Location
    Dorset
    Posts
    274
    Do you have any other sorting that is happening before the date column?

  3. #3
    madcreek is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2010
    Posts
    4

    No other sorts

    No I don't have any other sorts.

    This is a crosstab report. If that make a difference. Here is my set up:

    Field: ProjID
    Table:Payment
    Total: Group By
    Crosstab:Row Heading

    Field: PaymtDate
    Table: Payment
    Total: Group By
    Crosstab: Column Heading
    Sort: Ascending

    Field: PdAmount
    Table: Payment
    Total: Sum
    Crosstab: Value

    Field: Pd Amount
    Table: Payment
    Total: Sum
    Crosstab: Row Heading

  4. #4
    SoftwareMatters is offline Access VBA Developers
    Windows XP Access 2003
    Join Date
    Mar 2009
    Location
    Dorset
    Posts
    274
    You could try setting the format of the date field to something like dd/mm/yyyy
    I'm just wondering if it's something to do with regional settings.

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

Similar Threads

  1. Date Sorting
    By sfoot0309 in forum Queries
    Replies: 1
    Last Post: 04-25-2010, 09:59 PM
  2. Replies: 3
    Last Post: 11-19-2009, 09:15 PM
  3. Sorting by date between different groupings
    By wagspk in forum Reports
    Replies: 0
    Last Post: 03-11-2009, 11:53 PM
  4. Sorting By Date!
    By Pirate in forum Access
    Replies: 0
    Last Post: 07-19-2007, 02:42 PM
  5. Is this a Query or Sorting problem?
    By bwrobel in forum Queries
    Replies: 2
    Last Post: 07-14-2006, 08:15 AM

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