Results 1 to 3 of 3
  1. #1
    Eredhil is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    2

    how to Sort the results of using the columnHistory() function?


    I am using the sales Access templante, in one part is using the
    Code:
     =ColumnHistory([RegistryOrigin],"Comentaries","[Id]=" & Nz([ID],0))
    to show all the comments made but it is not showing them sorted , I need to modify the above code in order to make it show them in a sorted list from the newest input to the oldest.

    Thanks!

  2. #2
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536
    Where are you trying to do the sort. Easiest place is in a query. In the QBE, there is a section that offers a sort feature.

    Alan

  3. #3
    Eredhil is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    2
    In the Access Business template, a pre-created form uses this function, where it has a section where you input a new comment and right below it has the "history" of all the comments previously stored, if you change to design view, you will see in the "history section" the code that I posted earlier. The problem is that the comments are not sorted by date, I only want to sort them by date, but have no idea on how to use the sort feature inside columnhistory syntax.


    Quote Originally Posted by alansidman View Post
    Where are you trying to do the sort. Easiest place is in a query. In the QBE, there is a section that offers a sort feature.

    Alan

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

Similar Threads

  1. Replies: 6
    Last Post: 05-14-2012, 07:24 AM
  2. ColumnHistory Code
    By huv123 in forum Programming
    Replies: 2
    Last Post: 02-18-2011, 03:41 AM
  3. Replies: 0
    Last Post: 01-19-2011, 04:20 PM
  4. How to sort by three sort orders
    By captgnvr in forum Access
    Replies: 4
    Last Post: 11-09-2009, 07:30 AM
  5. =columnhistory
    By botts121 in forum Programming
    Replies: 1
    Last Post: 07-06-2009, 07:26 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