Query with Email and Telephone

Options
Hi All....I am new to Raiser's Edge, but am learning it very quickly. We are using version 7.92.5508. I am working on a query that returns a list of constituents. All that works fine. The problem is that on the Output I must include the phone number and e-mail of each constituent. If I include this as criteria, then I end up with two records for each person, one that shows the e-mail and one that shows the telephone number. Is there a way that I can have one record for each person and in that record show the e-mail address and the telephone number?


Thanks,

Ray

Comments

  • Not in Query.  However, if you build an Export and base it on your Query, you can then add Phone Number twice, which will give you two columns.  If someone doesn't beat me to it, I'll put together some directions on how to do that.


     
  • And Ryan beat me to it!  Thanks, Ryan.
  • haha, any time ;)
  • Ray Berthelette:

    Hi All....I am new to Raiser's Edge, but am learning it very quickly. We are using version 7.92.5508. I am working on a query that returns a list of constituents. All that works fine. The problem is that on the Output I must include the phone number and e-mail of each constituent. If I include this as criteria, then I end up with two records for each person, one that shows the e-mail and one that shows the telephone number. Is there a way that I can have one record for each person and in that record show the e-mail address and the telephone number?


    Thanks,

    Ray

    Others have given you good instructions.  I'll just repeat the RE Mantra:  "Query is a grouping tool, not a reporting tool."  smiley

  • Ray Berthelette:

    Hi All....I am new to Raiser's Edge, but am learning it very quickly. We are using version 7.92.5508. I am working on a query that returns a list of constituents. All that works fine. The problem is that on the Output I must include the phone number and e-mail of each constituent. If I include this as criteria, then I end up with two records for each person, one that shows the e-mail and one that shows the telephone number. Is there a way that I can have one record for each person and in that record show the e-mail address and the telephone number?


    Thanks,

    Ray

    Thank you all for the input! It was a tremendous help and I think I know have a handle on this. Just in time too because the report requests are coming in fast. I hope to be more active in this community as time goes on and I learn more about Raiser's Edge. See you all around! Ray

  • Ray Berthelette:

    Hi All....I am new to Raiser's Edge, but am learning it very quickly. We are using version 7.92.5508. I am working on a query that returns a list of constituents. All that works fine. The problem is that on the Output I must include the phone number and e-mail of each constituent. If I include this as criteria, then I end up with two records for each person, one that shows the e-mail and one that shows the telephone number. Is there a way that I can have one record for each person and in that record show the e-mail address and the telephone number?


    Thanks,

    Ray

    Again, thanks all for your help!  One little caveat that I've noticed though. It's returning all records except for the ones that have nothing for a phone number/e-mail. How do I include records if this field is blank?


    Thanks,

    Ray

  • JoAnn Strommen
    JoAnn Strommen Community All-Star
    Ancient Membership 2,500 Likes 2500 Comments Photogenic
    Use query to group all the records you want but not based on the phone criteria. Do you have some other determining factor of what records you want to report on? Do not use phone/email as a query criteria. Get all those records in the query and then take the query to Export.
  • So that has to do with your query, not your export. Just remove any criteria related to phone or email, since you're not trying to limit your group by those parameters. The info you decide to output via the Export module is independent from any of the criteria you used in your query. 
  • Ray Berthelette:

    Ray Berthelette:

    Hi All....I am new to Raiser's Edge, but am learning it very quickly. We are using version 7.92.5508. I am working on a query that returns a list of constituents. All that works fine. The problem is that on the Output I must include the phone number and e-mail of each constituent. If I include this as criteria, then I end up with two records for each person, one that shows the e-mail and one that shows the telephone number. Is there a way that I can have one record for each person and in that record show the e-mail address and the telephone number?


    Thanks,

    Ray

    Again, thanks all for your help!  One little caveat that I've noticed though. It's returning all records except for the ones that have nothing for a phone number/e-mail. How do I include records if this field is blank?


    Thanks,

    Ray

     

    I think I just answered my own question! Instead of following the earlier suggestions, I added only one Phone field and in the "For each Preferred Address, enter the number of Phones to export" I put a value of 4. I then selected the "All Phones" radio button instead of selecting individual phones. This now shows all of the entries in the Phone field as well as blanks.

  • Ohh, I forgot that phones are still tied to address records in 7.92. For all the pain involved with updating to 7.94+, having phone records separate from address records really does make life easier.
  • JoAnn Strommen:

    Use query to group all the records you want but not based on the phone criteria. Do you have some other determining factor of what records you want to report on? Do not use phone/email as a query criteria. Get all those records in the query and then take the query to Export.

    Thanks JoAnn! That's what I ended up doing. I filtered it out in an Export.

  • Ryan Hyde:

    Ohh, I forgot that phones are still tied to address records in 7.92. For all the pain involved with updating to 7.94+, having phone records separate from address records really does make life easier.

    Thanks Ryan! Yes, upgrading to 7.94+ is on my list. I've just started in this position so am trying to figure out where they are and what needs to be done!

Categories