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

AccuZIP6 is the best product on the market. The tech support is great. Whenever I have a question, I get the straight answer. I always get through to tech support with no wait time. The program does it all. Not like so many other products that you have to buy add on products to.
P.F., Bedford, TX