View Single Post
 
Old 11-12-2015, 06:43 AM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Quote:
Originally Posted by tracygleghorn View Post
that is what the your addin process converts the mergefeild to when creating the word document. the actual code on the document is mergefield tot_amt\#"$0" the format and $$ amount shows up ok on the single row groupings but the the convert 'DOCVARIABLE tot_amt\#"$,0" shows up on the first row of the multiple row groupings.
As I said, it screws up the results. Don't use switches on the child fields.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote