04-15-2019 07:59 AM
This is what I want, thanks.
04-15-2019 09:41 AM
Which message are you referring to? Mine?
If so, my message isn't perfect, but was to give you a visual on what I described earlier in the thread. A problem comes if you are adding more than one row per loop iteration. If your total count was 1 less than the limit, but you proceed to add 3 rows, the comparison would still put in the same file, however, the 2 additional rows would be beyond the limit.
So for multiple rows added at once, the comparison needs to be smarter such as starting a new file if the current value and number of rows being added will exceed the limit.