Integrated Application Platform › Forums › General › counting based on more than two members of an object from inside a loop › Reply To: counting based on more than two members of an object from inside a loop
Thanks for the reply. It appears that I did not state my problem clearly:
The two (and more) lines of codes needs to be generated inside a loop.
The first cycle should generate the first line of code, the second cycle of the loop should generate the second. In the next loop the line of code generated should count based on three columns and so on.
If I write manually, the code will work (of course, after ensuring the correct pair of brackets and braces). I can’t write manually, it needs to be generated inside the loop as the number of loops is variable each time I use the code.
The other way that I can think of is to output the objects into a database table and build the “where” query.
Is it possible the first way? Or is there another way?