Results 1 to 3 of 3
  1. #1
    4 Star Lounger
    Join Date
    May 2001
    Location
    Oxfordshire
    Posts
    456
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Likely to be a simple one, but i'd like to add a sort to a filter, I've got on a button, but the help file is confusing me.

    Here's my filter;

    Me.Filter = "tblMain.Revdate < Now()"
    Me.FilterOn = True


    I'd like to sort first by [revdate], then by [score].

    TIA

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    Add the following lines:

    Me.OrderBy = "revdate, score"
    Me.OrderByOn = True

  3. #3
    4 Star Lounger
    Join Date
    May 2001
    Location
    Oxfordshire
    Posts
    456
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Cheers Hans.

    That is FAR simpler than what I was able to find in Help.

    Many thanks

Posting Permissions

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