Replies: 1 comment 1 reply
|
You're just saving the first instance. Put the new() method inside the loop. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am finding the following example does not seem to work for me.
Basically, I change one property and save again but it only saves the first loop. Then it moves on and stops looping, even though there are more rows in the query driving the loop. There should be about 12 new rows saved in the project_milestones_xref table.
I have another similar block of code and it too does not work. It won't even save one row.
Can someone shed light on why?
All reactions