Welcome to Forums Sign in | Join | Help | Forums
in Search





Make the world a better place.

RE Query "One of"

Last post 07-24-2008 1:51 PM by Theresa Green. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 06-13-2008 11:08 AM

    RE Query "One of"

    Hi, I am a fairly new user of Query so please bear with me.  I am trying to retrieve records with certain addresses.  I would like to use the Operator "one of" however when I try and list the values ie Bay and Baxter.  Nothing returns however I know there are records with those addresses within the database.  What is the syntax ie do I need "*" in front of Bay and/or is "One of" not the right operator. 

    Thanks in advance.

    N. 

     

    Filed under:
  • 06-13-2008 11:29 AM In reply to

    • Melissa Graves
    • Top 10 Contributor
    • User Since: 2002
    • Posts 753
    • Organization: Village for Families and Children
    • Products:  The Raiser's Edge

    Re: RE Query "One of"

    I do not know if the * will work but try it and see.

     What you likely need to do is use the contains operator and do them separately

    (Address contains Bay
    OR Address contains Baxter)

    Unfortunately using just the name, either way if the letters "bay" are in the middle of another street name like Bayview Dr. or Blue Bay Rd. they will also come up in this query.  You may want to be more specific in your contains and do "contains Bay Rd."  (hopefully they are all abbreviated the same or all spelled out.)

    Melissa S. Graves
    Director of Development Services
    The Village for Families and Children
    Hartford, CT
  • 06-13-2008 11:41 AM In reply to

    • Drew Allen
    • Top 10 Contributor
    • Posts 452
    • Organization: Children's Hospital of Philadelphia
    • Products:  The Information Edge, The Raiser's Edge

    Re: RE Query "One of"

    "One of" does not support wildcards.  You'll need to use multiple statements with on "OR" connector or merge multiple queries together.  In some cases, you may be able to write an expression containing wildcards that will work with the "Contains" condition.

    Drew 

    J. Drew Allen
    The Children's Hospital of Philadelphia
  • 07-24-2008 1:51 PM In reply to

    Re: RE Query "One of"

    Make sure you are asking for Address Line 1 and try using the operator "contains"? 

    T.

Page 1 of 1 (4 items)