one-of Zip?
I can't do "one of" because 12345-1111 is not included if I say "one of 12345". Looks like the * wild card also doesn't work in a one-of list either.
Am I missing something else? these lists of zips are driving me crazy.
Comments
-
Hi,
What if you tried “like” with a *to begin and
*to end?So like *M6*
I tried a quick one (through Canadian Postal
Codes do not have the trailing numbers) but like may generate the
zips you are looking for?
Brenda Heyer
Development
Manager Database and Information116
Spadina Avenue, Suite 300, Toronto, ON, M5V 2K6 | Tel: 416.323.9521 x259
|
Toll Free: 1.877.399.2333
Twitter: envirodefence |
Facebook: EnvironmentalDefenceCanada
Defending clean water, a safe
climate and healthy
communities.
Check
out our new website: EnvironmentalDefence.caWe
are Canada's most effective environmental action organization. We
challenge, and inspire change in government, business and people to
ensure a greener, healthier and prosperous life for
all.Help
inspire change today! Make a charitable donation
in
support of Environmental Defence.0 -
Or, instead of putting a *in front, just try Like M6*0
-
hmm. I'd still have to go through the manual "or" statements for each one, right?0
-
Steph Williams:
hmm. I'd still have to go through the manual "or" statements for each one, right?Hi Steph, I am unfamiliar with how state zip codes work. Do all states have a zip that starts with the same two numbers?
0 -
Hi Steph,
Can you provide a short sample of zips in your criteria?
Thanks,
0 -
I usually have a long list but as many zips (within a radius of a zip code) are frequently in sequence I use "Between" for example:
Between 12983 and 12989-9999
or
Begins with 12901
or
Between 12913 and 12946-9999
4 -
At present, I think you have limited options. If you have a big list, you can Export to another program (MS Access or Excel) and complete your zip criteria there, then add ConstID one of to your existing Query and paste in the IDs from the external program. If this is a very regularly-used Query, I'd probably invest in the time to do a big series of begins with criteria and then Save As to create a backup.
Regardless, check out the RE Idea Bank and vote for Ideas (even if they're old) like this one (query using wildcards), this one (combine begins with and one of operators), and this one (truncate +4 zips to a 5 digit field).1 -
Steph Williams:
Is there any easier way to create a list of zips to include in query? Right now I'm doing a big list of "begins with ______" OR "begins with _____" OR....
I can't do "one of" because 12345-1111 is not included if I say "one of 12345". Looks like the * wild card also doesn't work in a one-of list either.
Am I missing something else? these lists of zips are driving me crazy.If you've got your list of ZIPs in a single column in Excel, there's hope! Follow these steps exactly and you can copy/paste a list of things into a "One Of" field:
1) Open up your query and the Excel file with the list of ZIPs
2) In the Query, create your "ZIP code ONE OF <list>" criteria and leave the window open. Switch over to your Excel file.
3) Highlight and copy the cells in Excel. Note: You'll have to copy the cells - it won't work if you click the top of the column to highlight the entire column.
4) Once you've copied the cells, switch back to the criteria in your Query without closing Excel.
5) Click in the first line of the "One of" criteria (as if you were going to type something in). Scroll down a line or two using the scroll bar. Now do CTRL+V to paste in your list.
Note - you can only do this for 500 records at a time. For lists larger than 500 records, just create additional "One of" criteria. And if it's not working, 9 times out of 10 it's because you forgot to scroll down in the One Of criteria window. That's pretty much the key to this whole thing.
0 -
OH yeah. I know that nifty trick of C&P'ing 500 in a list.
But the problem is that even if I copy my list of Zips:
55123
55124
55125
55126
55127
55128
Into a query, any constituents with a zip of, for example, 55126-4321 will not be included. That "one of" list only looks for exact matches, to the related 9-digit zips are not included. Does that make sense how I'm explaining the problem?0 -
Hi Steph,
Another set of questions:
How long is your zipcode list?
Why are you itemizing it down to zip+4s?
Best,1 -
Niko Campbell:
Hi Steph,
Another set of questions:
How long is your zipcode list?
Why are you itemizing it down to zip+4s?
Best,About 30 zip codes on one list, and around the same on another.
I'm not itemizing it. I am itemizing it to the 5 digits, but if I ONLY include "one of" those 5-digit codes, any people in RE with the full 9-digits will be excluded. Because 55123-4321 does NOT equal 55123.
2 -
Hi,
Did you try the like 12345* and bring out the
fieldsWhen I tried this quickly, with Canadian
postal codes, it brought out all codes starting with M6 and also my
test record which I changed to an American address and added a fake
DPC.
Brenda Heyer
Development
Manager Database and Information116
Spadina Avenue, Suite 300, Toronto, ON, M5V 2K6 | Tel: 416.323.9521 x259
|
Toll Free: 1.877.399.2333
Twitter: envirodefence |
Facebook: EnvironmentalDefenceCanada
Defending clean water, a safe
climate and healthy
communities.
Check
out our new website: EnvironmentalDefence.caWe
are Canada's most effective environmental action organization. We
challenge, and inspire change in government, business and people to
ensure a greener, healthier and prosperous life for
all.Help
inspire change today! Make a charitable donation
in
support of Environmental Defence.1 -
Hi Steph,
I believe that Brenda's like solution will meet your needs very well. I was more curious as to why you wouldn't use city or county to make your search simpler.
0 -
If you do a lot of zip code queries, I would recommend looking into the plug-in called RecordRadar. Terribly easy to use and allows you to just add a radius of any zip you want to look up. We just got it a month ago and has already been a HUGE help!
0 -
Steph Williams:
Is there any easier way to create a list of zips to include in query? Right now I'm doing a big list of "begins with ______" OR "begins with _____" OR....
I can't do "one of" because 12345-1111 is not included if I say "one of 12345". Looks like the * wild card also doesn't work in a one-of list either.
Am I missing something else? these lists of zips are driving me crazy.If the ZIP codes are sequential you can use something like the following:
Preferred ZIP greater than or equal to 100 and
Preferred ZIP less than 120
This will give you all ZIPs from 10000 thru 19999 including ZIP+4's.
0 -
Steph Williams:
Is there any easier way to create a list of zips to include in query? Right now I'm doing a big list of "begins with ______" OR "begins with _____" OR....
I can't do "one of" because 12345-1111 is not included if I say "one of 12345". Looks like the * wild card also doesn't work in a one-of list either.
Am I missing something else? these lists of zips are driving me crazy.Hi Steph,
You may have already resolved this issue--if so, please disregard. I'm not sure how you are using the list. But I encountered the same issue a couple of months ago. I was asked to create a mailing list for people living within a certain radius of Portland OR. I found this website https://www.freemaptools.com/find-zip-codes-inside-radius.htm and did a radius search. Not only does it give you all the zip codes within a certain radius of the city, it gives you the corresponding city name. So, in my query, instead of asking for "one of" for the zip code field, I asked for "one of" the cities listed and included state field of Oregon (to eliminate cities of the same name in other states).
If anyone else out there has used this method and found something wrong with it, please let me know...it seems to have worked okay with my database, but we have a very small database.
Thanks,
Lara Grimm
Maryknoll School
Honolulu, Hawaii
Database Coordinator
1 -
Yeah, the Zip+4s are a known challenge. Have you considered NOT using zip codes and instead using counties? We've started doing this for most of our geographic lists that are outside our immediate area and we've found that it's a lot easier to run and only marginally increases our lists. Zip codes can be really, really small and specific areas and they don't always run concurrently (21050-1111 is not necessarily next to 21050-1112).
Another possible idea: Export out every address with AddressID and Zip Code (includes the +4). Use Excel to split the zip code from the +4 data. Re-import just the Zip Code to each address as an attribute. Repeat every few months.
For zip codes we tend to use MapPoint 2013... It's cheap and simple, but it's not being updated so there will come a time when we'll have to move on to something else.
Steph Williams:
Is there any easier way to create a list of zips to include in query? Right now I'm doing a big list of "begins with ______" OR "begins with _____" OR....
I can't do "one of" because 12345-1111 is not included if I say "one of 12345". Looks like the * wild card also doesn't work in a one-of list either.
Am I missing something else? these lists of zips are driving me crazy.
0 -
Zane Magnuson:
Steph Williams:
Is there any easier way to create a list of zips to include in query? Right now I'm doing a big list of "begins with ______" OR "begins with _____" OR....
I can't do "one of" because 12345-1111 is not included if I say "one of 12345". Looks like the * wild card also doesn't work in a one-of list either.
Am I missing something else? these lists of zips are driving me crazy.If you've got your list of ZIPs in a single column in Excel, there's hope! Follow these steps exactly and you can copy/paste a list of things into a "One Of" field:
1) Open up your query and the Excel file with the list of ZIPs
2) In the Query, create your "ZIP code ONE OF <list>" criteria and leave the window open. Switch over to your Excel file.
3) Highlight and copy the cells in Excel. Note: You'll have to copy the cells - it won't work if you click the top of the column to highlight the entire column.
4) Once you've copied the cells, switch back to the criteria in your Query without closing Excel.
5) Click in the first line of the "One of" criteria (as if you were going to type something in). Scroll down a line or two using the scroll bar. Now do CTRL+V to paste in your list.
Note - you can only do this for 500 records at a time. For lists larger than 500 records, just create additional "One of" criteria. And if it's not working, 9 times out of 10 it's because you forgot to scroll down in the One Of criteria window. That's pretty much the key to this whole thing.
Best,
Lise Twiford0 -
Lise Twiford:
Zane Magnuson:
Steph Williams:
Is there any easier way to create a list of zips to include in query? Right now I'm doing a big list of "begins with ______" OR "begins with _____" OR....
I can't do "one of" because 12345-1111 is not included if I say "one of 12345". Looks like the * wild card also doesn't work in a one-of list either.
Am I missing something else? these lists of zips are driving me crazy.If you've got your list of ZIPs in a single column in Excel, there's hope! Follow these steps exactly and you can copy/paste a list of things into a "One Of" field:
1) Open up your query and the Excel file with the list of ZIPs
2) In the Query, create your "ZIP code ONE OF <list>" criteria and leave the window open. Switch over to your Excel file.
3) Highlight and copy the cells in Excel. Note: You'll have to copy the cells - it won't work if you click the top of the column to highlight the entire column.
4) Once you've copied the cells, switch back to the criteria in your Query without closing Excel.
5) Click in the first line of the "One of" criteria (as if you were going to type something in). Scroll down a line or two using the scroll bar. Now do CTRL+V to paste in your list.
Note - you can only do this for 500 records at a time. For lists larger than 500 records, just create additional "One of" criteria. And if it's not working, 9 times out of 10 it's because you forgot to scroll down in the One Of criteria window. That's pretty much the key to this whole thing.
Best,
Lise TwifordI think the SmartTHING plug-in called SmartPaste is excellent for this. And it's free. It pretty much does this exact thing, except it will automatically create the additional one of queries. I think they can be found online. But I used it a number of times.
0
Categories
- All Categories
- Shannon parent
- shannon 2
- shannon 1
- 21 Advocacy DC Users Group
- 14 BBCRM PAG Discussions
- 89 High Education Program Advisory Group (HE PAG)
- 28 Luminate CRM DC Users Group
- 8 DC Luminate CRM Users Group
- Luminate PAG
- 5.9K Blackbaud Altru®
- 58 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 409 bbcon®
- 2.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- donorCentrics®
- 1.1K Blackbaud eTapestry®
- 2.8K Blackbaud Financial Edge NXT®
- 1.1K Blackbaud Grantmaking™
- 527 Education Management Solutions for Higher Education
- 1 JustGiving® from Blackbaud®
- 4.6K Education Management Solutions for K-12 Schools
- Blackbaud Luminate Online & Blackbaud TeamRaiser
- 16.4K Blackbaud Raiser's Edge NXT®
- 4.1K SKY Developer
- 547 ResearchPoint™
- 151 Blackbaud Tuition Management™
- 1 YourCause® from Blackbaud®
- 61 everydayhero
- 3 Campaign Ideas
- 58 General Discussion
- 115 Blackbaud ID
- 87 K-12 Blackbaud ID
- 6 Admin Console
- 949 Organizational Best Practices
- 353 The Tap (Just for Fun)
- 235 Blackbaud Community Feedback Forum
- 55 Admissions Event Management EAP
- 18 MobilePay Terminal + BBID Canada EAP
- 36 EAP for New Email Campaigns Experience in Blackbaud Luminate Online®
- 109 EAP for 360 Student Profile in Blackbaud Student Information System
- 41 EAP for Assessment Builder in Blackbaud Learning Management System™
- 9 Technical Preview for SKY API for Blackbaud CRM™ and Blackbaud Altru®
- 55 Community Advisory Group
- 46 Blackbaud Community Ideas
- 26 Blackbaud Community Challenges
- 7 Security Testing Forum
- 1.1K ARCHIVED FORUMS | Inactive and/or Completed EAPs
- 3 Blackbaud Staff Discussions
- 7.7K ARCHIVED FORUM CATEGORY [ID 304]
- 1 Blackbaud Partners Discussions
- 1 Blackbaud Giving Search™
- 35 EAP Student Assignment Details and Assignment Center
- 39 EAP Core - Roles and Tasks
- 59 Blackbaud Community All-Stars Discussions
- 20 Blackbaud Raiser's Edge NXT® Online Giving EAP
- Diocesan Blackbaud Raiser’s Edge NXT® User’s Group
- 2 Blackbaud Consultant’s Community
- 43 End of Term Grade Entry EAP
- 92 EAP for Query in Blackbaud Raiser's Edge NXT®
- 38 Standard Reports for Blackbaud Raiser's Edge NXT® EAP
- 12 Payments Assistant for Blackbaud Financial Edge NXT® EAP
- 6 Ask an All Star (Austen Brown)
- 8 Ask an All-Star Alex Wong (Blackbaud Raiser's Edge NXT®)
- 1 Ask an All-Star Alex Wong (Blackbaud Financial Edge NXT®)
- 6 Ask an All-Star (Christine Robertson)
- 21 Ask an Expert (Anthony Gallo)
- Blackbaud Francophone Group
- 22 Ask an Expert (David Springer)
- 4 Raiser's Edge NXT PowerUp Challenge #1 (Query)
- 6 Ask an All-Star Sunshine Reinken Watson and Carlene Johnson
- 4 Raiser's Edge NXT PowerUp Challenge: Events
- 14 Ask an All-Star (Elizabeth Johnson)
- 7 Ask an Expert (Stephen Churchill)
- 2025 ARCHIVED FORUM POSTS
- 322 ARCHIVED | Financial Edge® Tips and Tricks
- 164 ARCHIVED | Raiser's Edge® Blog
- 300 ARCHIVED | Raiser's Edge® Blog
- 441 ARCHIVED | Blackbaud Altru® Tips and Tricks
- 66 ARCHIVED | Blackbaud NetCommunity™ Blog
- 211 ARCHIVED | Blackbaud Target Analytics® Tips and Tricks
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- Luminate CRM DC Users Group
- 225 ARCHIVED | Blackbaud eTapestry® Tips and Tricks
- 1 Blackbaud eTapestry® Know How Blog
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
- 1 Blackbaud K-12 Education Solutions™ Blog
- 280 ARCHIVED | Mixed Community Announcements
- 3 ARCHIVED | Blackbaud Corporations™ & Blackbaud Foundations™ Hosting Status
- 1 npEngage
- 24 ARCHIVED | K-12 Announcements
- 15 ARCHIVED | FIMS Host*Net Hosting Status
- 23 ARCHIVED | Blackbaud Outcomes & Online Applications (IGAM) Hosting Status
- 22 ARCHIVED | Blackbaud DonorCentral Hosting Status
- 14 ARCHIVED | Blackbaud Grantmaking™ UK Hosting Status
- 117 ARCHIVED | Blackbaud CRM™ and Blackbaud Internet Solutions™ Announcements
- 50 Blackbaud NetCommunity™ Blog
- 169 ARCHIVED | Blackbaud Grantmaking™ Tips and Tricks
- Advocacy DC Users Group
- 718 Community News
- Blackbaud Altru® Hosting Status
- 104 ARCHIVED | Member Spotlight
- 145 ARCHIVED | Hosting Blog
- 149 JustGiving® from Blackbaud® Blog
- 97 ARCHIVED | bbcon® Blogs
- 19 ARCHIVED | Blackbaud Luminate CRM™ Announcements
- 161 Luminate Advocacy News
- 187 Organizational Best Practices Blog
- 67 everydayhero Blog
- 52 Blackbaud SKY® Reporting Announcements
- 17 ARCHIVED | Blackbaud SKY® Reporting for K-12 Announcements
- 3 Luminate Online Product Advisory Group (LO PAG)
- 81 ARCHIVED | JustGiving® from Blackbaud® Tips and Tricks
- 1 ARCHIVED | K-12 Conference Blog
- Blackbaud Church Management™ Announcements
- ARCHIVED | Blackbaud Award Management™ and Blackbaud Stewardship Management™ Announcements
- 1 Blackbaud Peer-to-Peer Fundraising™, Powered by JustGiving® Blogs
- 39 Tips, Tricks, and Timesavers!
- 56 Blackbaud Church Management™ Resources
- 154 Blackbaud Church Management™ Announcements
- 1 ARCHIVED | Blackbaud Church Management™ Tips and Tricks
- 11 ARCHIVED | Blackbaud Higher Education Solutions™ Announcements
- 7 ARCHIVED | Blackbaud Guided Fundraising™ Blog
- 2 Blackbaud Fundraiser Performance Management™ Blog
- 9 Foundations Events and Content
- 14 ARCHIVED | Blog Posts
- 2 ARCHIVED | Blackbaud FIMS™ Announcement and Tips
- 59 Blackbaud Partner Announcements
- 10 ARCHIVED | Blackbaud Impact Edge™ EAP Blogs
- 1 Community Help Blogs
- Diocesan Blackbaud Raiser’s Edge NXT® Users' Group
- Blackbaud Consultant’s Community
- Blackbaud Francophone Group
- 1 BLOG ARCHIVE CATEGORY
- Blackbaud Community™ Discussions
- 8.3K Blackbaud Luminate Online® & Blackbaud TeamRaiser® Discussions
- 5.7K Jobs Board