![]() |
|
#1
|
|||
|
|||
![]()
Hey Paul,
This is still not working properly. I'm not sure if it's a Conga Composer issue or a Word issue. I tried a test, just to see if I could get this to work at a basic level. I took a document that works fine currently. Conga builds the document properly, and all the merge fields work as expected. I added this simple code. {IF {MERGREFIELD TableStart:BorrowerProductQuery \*MERGEFORMAT}{MERGEFIELD Selected_Product_Frequency \*MERGEFORMAT}{MERGEFIELD TableEnd:BorrowerProductQuery \*MERGEFORMAT } = "Bi-Weekly" "" "Hello" } I know you don't think the MERGEFIELD and MERGEFORMAT aren't needed, but Word adds these, I don't. I use the >Insert > Quick Parts > Field > MergeField I type in the name of the field in the "Field Name" field. Then click "ok" Anyway, the document should generate, with the word "Hello" between the two tables. The document populates, and the Conga Solution runs without fail so that's good. But the document looks like the image below. What am I doing wrong with this? Thanks Paul, Shawn |
#2
|
||||
|
||||
![]() Quote:
{IF{MERGEFIELD Selected_Product_Frequency}= "Bi-Weekly" "Hello"} between those two tables. As it is, you have an IF test that incorporates the whole 'BorrowerProductQuery' table as part of the condition being tested against 'Bi-Weekly'. That'll never fly. I actually said only that the \* MERGEFORMAT switch is unnecessary. The MERGEFIELD designation is most definitely required. You're getting the \* MERGEFORMAT switches because you're leaving the 'Preserve formatting during updates' option checked when you insert the fields. Word will also add them (rather unhelpfully) if you reformat the fields after inserting them.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting a Select statement in Excel to an update statement | shabbaranks | Excel Programming | 5 | 10-31-2018 11:47 PM |
Tasks Switch to Non-Working Days on Working Calendar | danelloc | Project | 3 | 10-02-2017 12:38 PM |
Help with IF statement | kevinU | Excel | 0 | 03-15-2017 02:11 PM |
![]() |
mrry475 | Excel | 1 | 09-06-2016 09:30 AM |
![]() |
teza2k06 | Excel | 1 | 03-11-2015 12:44 AM |