Thread: [Solved] IF Statement not working
View Single Post
 
Old 02-27-2020, 11:02 AM
shawn.low@cox.net shawn.low@cox.net is offline Windows 10 Office 2016
Novice
 
Join Date: May 2019
Location: Aliso Viejo, CA.
Posts: 24
shawn.low@cox.net is on a distinguished road
Default

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
Reply With Quote