Page 1 of 1

Sort Labels by Zip Code

PostPosted: Wed Apr 08, 2009 1:24 pm
by DillonF
Is there a way to sort the labels on the merge to sort by zip code.
I tried to sort the records before running the Create Labels Script. I am using the Sample contacts file that came with "FMSPark"

Post to soon

PostPosted: Wed Apr 08, 2009 1:30 pm
by DillonF
Posted to soon was just using the preview to see if it works. I did the merge and it is in reverse order. But that works.

PostPosted: Wed Apr 08, 2009 5:54 pm
by corn
It's actually the building of the list of IDs that operates in reverse order. In the example script in the Sample Contacts file the line that builds the list of IDs currently reads:

Code: Select all
Set Variable [$recordIDList; Value:Contacts::Contact ID & ¶ & $recordIDList]


To change this to build the ID list in the correct order you just need to swap things around:

Code: Select all
Set Variable[$recordIDList; Value:$recordIDList & Contacts::Contact ID & ¶]


Cheers!

Corn Walker
The Proof Group, LLC