Hi,I have the problem about coding when I use the array to display the data in the table. I don't know what I am missing in the code, the data is only displayed in the first row, and second row is displayed empty. I have spent a lot of time to figure the solution however I am not successful.I need your help. Thank you.
var part1 = new Array("A", "3", 78,9)
var part2 = new Array("E", "2", 45,8);
var b = new Array(new Array("A","3",78,9), new Array("E","2",45,8) )
var a = new Array()
a[0]=form1.page1.Table1.Row1.TextField1
a[1]=form1.page1.Table1.Row1.TextField2
a[2]=form1.page1.Table1.Row1.TextField3
a[3]=form1.page1.Table1.Row1.TextField4
a[4]=form1.page1.Table1.Row2.TextField5
a[5]=form1.page1.Table1.Row2.TextField6
a[6]=form1.page1.Table1.Row2.TextField7
a[7]=form1.page1.Table1.Row2.TextField8
for (var i=0; i
However, from the code that I can see, the "a" array is acquiring the field objects from the first "Row2" only. If there are other repeated "Row2"s. I don't see how they are being populated. Please post the rest of the code.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script