Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi guys, i have a question again:
I have a certain number of rows and would like to put them into packages of the same size. Let's say I have 500 rows and always want to collect and summarize 20.
For example:
Row1
Row2
Row3
...
Row21
Row22
...
Should be:
Row1|Row2|Row3|...
Row21|Row22|... and so on
I've been looking for a solution for several hours now, but I haven't found any. I hope you can help me.
Best regards,
BooWseR
Hi Francois, thank you for your answer.
In the meantime, I have been able to find my own solution, which also works quite well. Let me show you:
First I get the data from a REST interface. Then I extract the data I need from the JSON, split it with "tNormalize" and write it into an ArryList with tJavaFlex.
Then I iterate with tLoop in predefined steps (10 each) up to the maximum of the ArrayList.
I'm pretty sure I could have used the output from the JSON as a list somehow, but I couldn't get it right. I'm sure that your solution will certainly perform better, but currently mine works. When I find the time, I'll try your solution. Anyway, thanks for your help.
Best regards,
BooWseR
Hi !
Wow, so much brain functioning for a simple thing ^^
Use tSampleRow and you should be ok