View Single Post
  #1   Report Post  
Spring Velazquez, Widener University
 
Posts: n/a
Default Zip code merging when 5 AND 9 digits

Our academic software has a program that allows us to run letters using a
macro program (WINTEG.WORD) between the software and Word. One of the
problems is that the leading "0" is lost during the process. Have visited
www.gmayor.com for solutions. Using {MERGEFIELD Zip\# "00000"} doesn't work
when there are 9 digits in the zip code. I have tried to use the {IF
{MERGEFIELD...} to add trailing zeroes to the 5 digit field suggestion on the
site also. Once I update the field though, all I get is MERGEFIELD rather
than LrZip and the data doesn't merge. Could this be a syntax issue?

My field is as follows { IF { MERGEFIELD LrZip } "9999" "{ MERGEFIELD
LrZip\# "00000'-'0000"}""{MERGEFIELD LrZip\# "00000"}-0000" }

Any suggestions?