PanicProgress
New Member
Hi everybody!
my first post:
I'm a newbie. I've been reading programs written in Progress for about a year and I can understand how it works, the tables, the objective; and I'm doing some adjust of my own. In a report, I need to interchange the last and
the last - 1 records of a Temp Table.
How can it be done?
This "reports" are an output to a window or printer.
I'm thinking in doing a copy of the Temp Table to an array, and read this new array so when I reach the variable record-count -1 , print the last and after that print the last - 1 .
But I'm not sure if the idea is ok, or if there's another way to reach my goal...
I know that I should modify the order of the Temp-Table when this is being filled with data, but, the problem is that the code would become a little bit ( a lot) more complex if I try to do that, because I did not write the program and I do not have the level to re-order in that moment
.
Any sugestions are welcome.
I'm a newbie. I've been reading programs written in Progress for about a year and I can understand how it works, the tables, the objective; and I'm doing some adjust of my own. In a report, I need to interchange the last and
the last - 1 records of a Temp Table.
How can it be done?
This "reports" are an output to a window or printer.
I'm thinking in doing a copy of the Temp Table to an array, and read this new array so when I reach the variable record-count -1 , print the last and after that print the last - 1 .
But I'm not sure if the idea is ok, or if there's another way to reach my goal...
I know that I should modify the order of the Temp-Table when this is being filled with data, but, the problem is that the code would become a little bit ( a lot) more complex if I try to do that, because I did not write the program and I do not have the level to re-order in that moment
Any sugestions are welcome.