Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

value of calculated variable is lost on each new page

edited November 2003 in General
I got a time attendance routine for employee that must save last in record
to subtract this value to the OUT record that is usually the next record. I
make the calculations on a calc field where the in value time is reset to 0
when a OUT record is process (timeholder :=0) on the IN record the
TimeHolder variable is set to the IN time . On the OUT record the calc field
is calculated on oncalc procedure (timeout-timeholder).
Every time a page start with an OUT record the holder value is 0 instead of
the one calculated on the ONCALC procedure.

On the preveiw if I go page by page the values are ok but when I print the
pages the values are wrong.
Report Builder standard 6.6
Tried twopass and didn't solved the problem.

Carlos

Comments

  • edited November 2003
    Hi Carlos,

    Are you using TppVariables to make these calculations or some other
    ReportBuilder component. I am unclear what you mean by the IN and OUT
    records. It sounds like you are trying to process data in your dataset at a
    different place than the current location of the traversal. This is
    probably not a good idea as it more than likely will confuse the Report
    Engine. I would suggest pre-processing your data so this won't be
    necessary.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.