Results 1 to 3 of 3

Thread: dao sort descending.. how?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2000
    Posts
    168
    Hello can someone explain to how to sort descending on a dao recordset?

    Thanks,
    Thai

  2. #2
    Addicted Member JasonGS's Avatar
    Join Date
    May 2000
    Location
    California
    Posts
    155
    You can use your SQL statement to sort descending...
    Code:
    ' Sort by "field", descending...
    SELECT * FROM table WHERE field = 'value' ORDER BY field DESC
    ' Sort by "field", ascending...
    SELECT * FROM table WHERE field = 'value' ORDER BY field ASC
    you get the point right?

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2000
    Posts
    168

    can't do that..

    we're using the control, is there a way using the recordset object to do this?

    Thanks,
    Thai

Posting Permissions

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



Click Here to Expand Forum to Full Width