locked
MSCRM 4 Mail Merge missing paragraphs in MERGESEQ = 1 section RRS feed

  • Question

  • I've got a real stumper here...

    Building a custom Mail Merge Quote template in Word 2010 (I've done many of these), and I'm coming across a really bizarre outcome that I can't track down the source of. I am using the following merge codes:

    { IF { MERGESEQ } = "1" "
    
    Several pages of information here, and then the table header of the line items table.
    
    " }{ IF { MERGEFIELD Quote_Product_Quantity } > 0 "
    
    Line Item table rows here
    
    " "" }{ IF { MERGEFIELD LastItem } = 1 "
    
    Total table rows here, followed by several more pages of terms, etc.
    
    " ""}

    What I'm seeing is that the last page or so of the MERGESEQ = 1 section is being left out of the merge. No matter what I've tried, it always stops at the same paragraph before moving on to the next section.

    I've checked all paragraph marks, and there's nothing out of the ordinary at that line, and changing the formatting of the line or removing text or pages before it makes no difference. Removing the remaining merge code sections doesn't seem to help either.

    I've been battling this all day, and it's really driving me crazy so ANY suggestions are greatly appreciated!!


    Camille
    http://mscrm-workarounds.blogspot.com
    Wednesday, February 2, 2011 8:10 PM