Results 1 to 2 of 2
  1. #1
    mindbender is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2013
    Posts
    283

    Multiple Dropdowns on form to select Month and sort Order


    I have a combo box that contains the 12 months of the year and one for Sort order. What I would like to happen is the users Selects January and then Ascending and the data returned is January Data sorted Ascending. If they Choose March and Descending the data returned is March Data sorted Descending.

    Losing my mind trying to figure this out.

    Any help would be awesome

    Thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    I would use VBA to set the form Filter and OrderBy properties.

    Here is example to set Filter. http://www.allenbrowne.com/ser-62code.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Sort by month then day
    By mrkaye in forum Access
    Replies: 2
    Last Post: 04-23-2012, 09:46 AM
  2. Sort order in a sub form
    By roar58 in forum Forms
    Replies: 1
    Last Post: 03-17-2012, 08:57 PM
  3. Month sort
    By ali zaib in forum Access
    Replies: 2
    Last Post: 01-23-2012, 11:36 AM
  4. Referencing Dropdowns to multiple fields
    By John Mundy in forum Forms
    Replies: 2
    Last Post: 11-14-2011, 05:15 AM
  5. Access 2003, sort order property of a form
    By Rick West in forum Forms
    Replies: 11
    Last Post: 09-17-2009, 08:28 PM

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