Excluding "Do Not Solicit" Codes From Query Help
Hello
I'm working on preparing a mailing with quite a few criteria. In the past I've always added the excluded solicit codes as “And Not One Of…” as one of the last parts of the query. I'm noticing this isn't always accurate. Is there a better way to exclude these constituents?
Comments
-
@Dylan Medina Probably not the exact answer your looking for - but I also use “and not one of” on my query and then in my export I include a solicit code section to catch any that snuck through to manually remove. One in excel I filter on the ones I need to remove and manually delete.
5 -
@Dylan Medina I find that ‘wrapping’ queries with the overarching criteria helps. Parenthesis are my friends. In other words, like:
Key Indicator is one of Individual
And Deceased equals No
And (
[the 'meat' of the query goes here]
)
And Solicit Code is not one of Yadda, ANC, DNSDoing this ensures that the solicit codes are applied only at the outermost layer.
7 -
@Dylan Medina I sometimes merge the queries using the SUB operator, where the secondary query has the solicit codes. I can confirm that the excluded solicit code are not included when I use export to produce the output.
4 -
@Dylan Medina I sometimes merge the queries using the SUB operator, where the secondary query has the solicit codes. I can confirm that the excluded solicit code are not included when I use export to produce the output.
Second this! I also go the route of utilizing the merge query options. Here's a KB article that explains merge query operators with diagrams that are super helpful when starting out:
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 208 bbcon®
- 1.4K Blackbaud Altru®
- 394 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 359 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 646 Blackbaud Grantmaking™
- 563 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 934 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.4K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 242 ResearchPoint™
- 118 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 238 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 28 PowerUp Challenges
- 3 (Open) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 779 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)


