Support 805.461.7300
Sales
Our Technology. Your Success.

Create an Excel file with count on 5-digit ZIP Codes

com_alias=alias()
ON ERROR com_message=message()
SET SAFETY OFF
alter table alias() add column zip5 c(5)
replace all zip5 with left(zip,5)
SELECT zip5, city, st, count (zip5) as zipcnt ;
    from (com_alias) group by 1,2,3 into table FORCEEXT(DBF(),"")+"-zip5_count"
copy to FORCEEXT(DBF(),"XLS") type XLS
use
SELECT (com_alias)
delete file FORCEEXT(DBF(),"")+"-zip5_count.dbf"

« Back to Commands

Would you please pass along to the rest of the AccuZIP team how refreshing it is to have great support? I was an Accuzip customer for several years and left almost 2 years ago thinking the grass was greener on the Bulk Mailer side of the fence. BOY WAS I WRONG! It was one of the worse decisions I made in a long time and actually switched back before my subscription was up with them, paying for an entire year of their software without using it. Eric welcomed me back, and your team got us up and running in no time. The tech support with BCC which gobbled up Bulk Mailer was horrid at best. Very sterile and no personalities or willingness to help at all when you actually were able to talk with someone.
C.H., Sandusky, OH