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 want to take a moment and let the folks at Accuzip know what great support I have received from Mathew Little. He has really helped get our IMB Barcode project off the ground! Learning Accuzip has been a pleasant process and the relief of knowing my project will be installed despite the tight deadline is wonderful! I wish there were more like you doing support at other companies when we need them.
M.V., Brentwood, TN