Results 1 to 2 of 2
  1. #1
    Star Lounger
    Join Date
    Jan 2001
    Location
    Brandon, Manitoba, Canada
    Posts
    63
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Query criteria and wildcards

    I put the following into the criteria of a query and it works fine
    except when I want all records to display. I can't find a wildcard
    that will work. Tried *, isnull, """A"" or ""B"" or etc.

    IIf([Forms]![MusicbyLevel]![LevelOptions]=1,"A",(IIf([Forms]!
    [MusicbyLevel]![LevelOptions]=2,"B",(IIf([Forms]![MusicbyLevel]!
    [LevelOptions]=3,"C",(IIf([Forms]![MusicbyLevel]![LevelOptions]
    =4,"D","")))))))

    Suggestions?

  2. #2
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Brisbane, Queensland, Australia
    Posts
    352
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Query criteria and wildcards

    You have to use a wildcard with Like rather than =
    David Grugeon
    Brisbane Australia

Posting Permissions

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