View Single Post
  #5  
Old February 12th, 2019, 11:30 AM
kjacobson's Avatar
kjacobson kjacobson is offline
Regular Contributor
 
Join Date: Oct 2008
Location: Alameda, CA
Posts: 54
Default Re: Suppressing empty rows in a Table

You would add the NormalizeEntities() function around the field that you want it applied to:
Code:
NormalizeEntities(Field("Designation_"+i))
The full line would be:
Code:
tableRow.SetContents(NormalizeEntities(Field("Designation_"+i)),Field("GC"+i),Field("Amount_"+i)); //Add content to the columns
Glad to help. You'll learn more JavaScript as you go. Loops, arrays, and functions are great places to start. These aren't just used in FusionPro. This forum and other JavaScript forums have great information if you are willing to search for what you need. Good luck and let me know if you have any other issues with the code.
__________________
Windows 7 | InDesign CC 2017 | Acrobat DC 2019 | FusionPro 11.0.8 | MarcomCentral User
Reply With Quote