Support 805.461.7300
Sales
Our Technology. Your Success.

Compare address in all records and mark the longest

The command below counts the number of characters in the field named Address and marks the record that has the largest number of characters.
You can apply this command to any field in your database simply by changing the field name.

comFieldName="address"

SELECT MAX(LEN(allt(&comFieldName))) FROM (ALIAS()) INTO ARRAY _longest

LOCATE FOR LEN(allt(&comFieldName))=_longest(1)

REPLACE x WITH "X"

« Back to Commands

I just wanted to share how FABULOUS [Geoff] is and you should keep him for sure! I have had the best service and training from him in the last few days that it has sold me on keeping AccuZIP @ my new job. I was new to this software and learning in “trial by fire” mode and he got me thru it without any burns! He is amazing and deserves a raise, bonus, employee of year- SOMETHING BIG. I have dealt with the mail industry for about 30 years and never received this level of support and so positive. I am forever grateful and will suggest him and this product if asked. I am being very serious about his knowledge, skill, and interpersonal skill(hard to find these days).
K.P., Colorado Springs, CO