General discussion
April 17, 2002 at 12:44 PM
m*lenium

IF Function in Merging in Word

by m*lenium . Updated 24 years, 4 months ago

My current problem is merging addresses. The addresses are not fields in the data base from where the records are retreived, instead there is a code for each address which has a corresponding word file with just the address in it. I am writing if functions such as {IF Management _co = “alliohana” “{INCLUDETEXT C:\\condos\\aliiohana.doc}”””} {IF Management_co = “metropol”
“{INCLUDETEXT C:\\condos\\Metropol.doc}”””}

I have about 20 address codes and I do not want to repeat the IF loop 20 times. How doI write an If loop where it would look at the code and then
look for the matching address file without having to do go through 20 loops. OR what if I integrated all the addresses into one file and wanted the code to match an address in the file. How do I do this? I hope I have given you sufficient information to understand my problem.
If you have any suggestions on how I could do this differently, it would be great.

This discussion is locked

All Comments