Question
cfloop question
I have the following cfloop statement :
<cfloop index="x" from="1" to="10">
Everytime it loops, a line item number is generated ( line item + 1) and inserted into the table, up to a max of 10.
Lets say I stop at 3 line items. The next time I go back in, I want the loop to start from 4 to 10. I tried to query the table to find the max and add 1, then tried to plug that value in but it does not work, I get a javascript error (there is some javascript involved with the loop).
How would I get the loop to start from 4 instead of 1 ?
<cfloop index="x" from="1" to="10">
Everytime it loops, a line item number is generated ( line item + 1) and inserted into the table, up to a max of 10.
Lets say I stop at 3 line items. The next time I go back in, I want the loop to start from 4 to 10. I tried to query the table to find the max and add 1, then tried to plug that value in but it does not work, I get a javascript error (there is some javascript involved with the loop).
How would I get the loop to start from 4 instead of 1 ?
