uf sorry, it's for subscribers but wont be bad if just tell you what have heard about the GetNthRecord from the tip of John Mark Osborne.
The point is in this recursive custom function which is indeed one parser who collects Field values(Field paramether in function) out of the FoundSet to the global field or $$Variable but without looping!
Two Parameters:
Field - like it says
Found - Get(FoundCount)
The Function:
SerialNumbers(Field; Found) =
Case(
Found > 1;
GetNthRecord(Field; Found) & "¶" & SerialNumbers(Field; Found -1);
GetNthRecord(Field; 1) //Eliminates extra return at end
)
BTW, the limit of this recursive is on 10.000 records. Mark has some ideas about this problem, with the related records, but to me that seems as a mend. Cool thing to be more explored.
Thanks for new links, will go to check them out immediatly after this post!