View Single Post
 
Old 07-11-2019, 08:16 PM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,106
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

You insert all of it where you want the result to appear. It will show those fields and their leading texts where the values are greater than 0
{ IF { MERGEFIELD "Field Name 1"} > 0 "Field Name 1: { MERGEFIELD "Field Name 1" \# "£,0"}
"}{ IF { MERGEFIELD "Field Name 2"} > 0 "Field Name 2: { MERGEFIELD "Field Name 2" \# "£,0"}
"}{ IF { MERGEFIELD "Field Name 3"} > 0 "Field Name 3: { MERGEFIELD "Field Name 3" \# "£,0"}
"}

You can use Import and export field constructions as text if you wish to convert the text above to fields (change the text as appropriate)
__________________
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