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
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 402 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 655 Blackbaud Grantmaking™
- 576 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 941 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.7K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 120 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 240 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Grid View Batch
- 3 (Closed) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) 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
- 796 Community News
- 3K Jobs Board
- 54 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)


