Author: sergeyken
Posted: Fri Sep 23, 2016 11:56 pm (GMT 5.5)
Note #1
Under no circumstances you can get the count of following records before you've read all those records.
You cannot guess in advance what is following next in your file?
It's the same as getting your salary in advance - before starting your job.
At least two steps are required to manipulate with record re-ordering.
But correct way would be creating the totals under your detail records.
_________________
Tyrannosaurus-REXX
Posted: Fri Sep 23, 2016 11:56 pm (GMT 5.5)
Note #1
Under no circumstances you can get the count of following records before you've read all those records.
You cannot guess in advance what is following next in your file?
It's the same as getting your salary in advance - before starting your job.
At least two steps are required to manipulate with record re-ordering.
But correct way would be creating the totals under your detail records.
_________________
Tyrannosaurus-REXX