Results 1 to 5 of 5

Thread: Query sort

  1. #1
    2 Star Lounger
    Join Date
    Apr 2008
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Query sort

    In a query I have written [What Grade?] in the "Grade" field Criteria to have the user select what grade they want the query to show. Is there something in the criteria field that they could type in that would print all the grades?
    Last edited by RetiredGeek; 2013-09-03 at 13:57.

  2. #2
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,434
    Thanks
    372
    Thanked 1,457 Times in 1,326 Posts
    Pbien,

    I assume you're using Letter grades (numbers would be different).
    Setup the Criteria field as: Like [Enter Grade Desired * for all]
    Then Just enter a * as indicated to get all grades.
    Last edited by RetiredGeek; 2013-09-03 at 09:08.
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  3. #3
    Platinum Lounger
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    4,594
    Thanks
    0
    Thanked 27 Times in 27 Posts
    you could try the following in the criteria if they just tap enter:
    [What Grade?] or [What Grade?] is Null

  4. The Following User Says Thank You to patt For This Useful Post:

    RetiredGeek (2013-09-03)

  5. #4
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,434
    Thanks
    372
    Thanked 1,457 Times in 1,326 Posts
    Patt,

    Neat trick! Thanks.
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  6. #5
    2 Star Lounger
    Join Date
    Apr 2008
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Patt-

    Thanks for the suggestion. Your coding is exactly the shortcut that I was hoping for.

    Paul

Posting Permissions

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