Storing Grids in a Separate Table Only Seems To Work On The First Record [SOLVED]
Posted: Wed Nov 27, 2019 12:23 pm
https://wiki.processmaker.com/3.0/Repor ... port_Table
Has anybody tried using this code? I tried using it, but it only seems to copy the first record and ignore the rest. I tried manipulating it by changing the initial index to 2, to see if it would get the 2nd record incase there was an error in the 2nd record, however it works. I thought maybe the grid count wasn't get the number correctly, so I change that to a static number of the rows I knew to be there, but that still only grabbed the first record. It's as if the first time it loops is all it can do.
Has anybody tried using this code? I tried using it, but it only seems to copy the first record and ignore the rest. I tried manipulating it by changing the initial index to 2, to see if it would get the 2nd record incase there was an error in the 2nd record, however it works. I thought maybe the grid count wasn't get the number correctly, so I change that to a static number of the rows I knew to be there, but that still only grabbed the first record. It's as if the first time it loops is all it can do.