Support 805.461.7300
Sales
Our Technology. Your Success.
Tech Notes

Updating the Area Code in the Phone1 Field

Area codes are always changing. AccuZIP6 can update the area code information in your list. When you Validate, AccuZIP6 will create a field named area_ with the update area code for each record. The following instructions will guide you through updating the phone1** field with the updated area code.*

  1. With your list open, from the Special menu, choose Validate Records.
  2. Check the Area Code check box under Output. Setup the rest of the Validate Records window as usual.
  3. Click Validate.
  4. If a Missing Fields window displays, click OK to let AccuZIP6 add the missing fields needed.
  5. When Validation is complete, from the Edit menu, choose Command.
  6. Click the New button to add a new command.
  7. Type 'Update Area Code' in the Save As box.
  8. Press the TAB key on your keyboard to move your cursor to the Command Statement Syntax text box.
  9. Type the following Command Statement:
    replace phone1 with stuff(phone1,2,3,left(area_,3)) for "(" $ phone1
  10. Click Run.

*The phone field must be formatted as follows for the command to work:
(###) ###-####
**If you would like to update the phone2 or phone3 field, replace phone1 in the command with phone2 or phone3.

« Back to Tech Notes

AccuZIP’s Professional Services Team has been a great resource for helping me launch Informed Delivery campaigns for my clients. I am a small direct mail marketing agency specializing in helping my clients find and retain new customers with direct mail. Informed Delivery is the best thing the post office has come up with in my 30+ years in the business. However, just like everything else with the post office, they don't make it easy. AccuZIP has made doing these digital campaigns very simple. I have analyzed campaign results and found the price per click through to the client's website less than an Adword campaign. I am looking forward to working with AccuZIP and their entire Professional Services Team with more clients and campaigns.
S.R., Raleigh, NC