Home |
Search |
Today's Posts |
|
#1
|
|||
|
|||
Merge Fields
I have one paragraph that needs to be printed if 2 conditions are met.
If spring and program_code then paragraph. I have 20 program codes. I can't find an easy way to do this. Do I have to have the paragraph entered in 20 times? I do not want to use the includetext field. Thanks. |
#2
|
|||
|
|||
Merge Fields
What type of merge document is this?
If Includetext for some reason is unacceptable then how about an autotext field? Assuming your fieldnames are spring and program_code and you need a true result then something like {IF {Mergefield Spring} = "true" "{IF {Mergefield field_code} = "true" "Put your paragraph, includetext field or autotext field here"}"} If you are producing a list, set the document type to directory/catalog. and enter the information just once. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org smchugh wrote: I have one paragraph that needs to be printed if 2 conditions are met. If spring and program_code then paragraph. I have 20 program codes. I can't find an easy way to do this. Do I have to have the paragraph entered in 20 times? I do not want to use the includetext field. Thanks. |
#3
|
|||
|
|||
Merge Fields
This is just a letter document.
Okay, your suggestion worked, but that leaves me with this issue... I will have to do that statement approx 15 more times {IF {Mergefield Term} = "Spring" "{IF {Mergefield program} = "xx" "Put your paragraph"}"} {IF {Mergefield Term} = "Spring" "{IF {Mergefield program} = "xy" "Put your paragraph"}"} How do I put them all together to make sure I do not have spacing issues. "Graham Mayor" wrote: What type of merge document is this? If Includetext for some reason is unacceptable then how about an autotext field? Assuming your fieldnames are spring and program_code and you need a true result then something like {IF {Mergefield Spring} = "true" "{IF {Mergefield field_code} = "true" "Put your paragraph, includetext field or autotext field here"}"} If you are producing a list, set the document type to directory/catalog. and enter the information just once. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org smchugh wrote: I have one paragraph that needs to be printed if 2 conditions are met. If spring and program_code then paragraph. I have 20 program codes. I can't find an easy way to do this. Do I have to have the paragraph entered in 20 times? I do not want to use the includetext field. Thanks. |
#4
|
|||
|
|||
Merge Fields
{ IF { Mergefield Term } = "Spring" "{ IF {Mergefield program } = "xx" "Put
your paragraph for Program xx" { IF { Mergefield program } = "xy" "Put your paragraph for Program xy" { IF { Mergefield program } = "xz" "Put your paragraph for Program xz" [etc] } } }"" } -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "smchugh" wrote in message ... This is just a letter document. Okay, your suggestion worked, but that leaves me with this issue... I will have to do that statement approx 15 more times {IF {Mergefield Term} = "Spring" "{IF {Mergefield program} = "xx" "Put your paragraph"}"} {IF {Mergefield Term} = "Spring" "{IF {Mergefield program} = "xy" "Put your paragraph"}"} How do I put them all together to make sure I do not have spacing issues. "Graham Mayor" wrote: What type of merge document is this? If Includetext for some reason is unacceptable then how about an autotext field? Assuming your fieldnames are spring and program_code and you need a true result then something like {IF {Mergefield Spring} = "true" "{IF {Mergefield field_code} = "true" "Put your paragraph, includetext field or autotext field here"}"} If you are producing a list, set the document type to directory/catalog. and enter the information just once. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org smchugh wrote: I have one paragraph that needs to be printed if 2 conditions are met. If spring and program_code then paragraph. I have 20 program codes. I can't find an easy way to do this. Do I have to have the paragraph entered in 20 times? I do not want to use the includetext field. Thanks. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Form text fields are disappearing during a merge to new document. | Mailmerge | |||
"Insert Merge fields" button is inactive | Mailmerge | |||
ASK and FILLIN fields in INCLUDETEXT documents do not merge correc | Mailmerge | |||
Can you create a multi-layered merge where certain merge fields a. | Mailmerge | |||
Using MAILMERGE fields within HYPERLINK fields for Merge to Email | Mailmerge |