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

Last page ppVariable total in Previewer

edited March 2002 in General
In order for a ppVariable (code-generated) grand total to be correct in the
Previewer, I apparently have to move sequentially through each page of the
report. I tried changing from OnePass to TwoPass, but that didn't help when
I select the Last Page right after the report shows up. Is there some
setting I'm missing?

Thanks,
Dave McMullen

Comments

  • edited March 2002
    You should use a TwoPass report. What version of RB are you using for this
    report? You should not have to move through each page sequentially. The
    OnCalc evnet of a variable fires for every forward datapipeline record
    traversal. What is the timing set to on the variable? Setting the report
    to TwoPass should cause the OnCalc to fire for every record in the dataset.
    All of the pages should get generated before you preview the first page. Are
    you resetting the variable's value at some point in code? Can you create
    the report as a simple example based on the DBDemos database? Send it to
    support@digital-metaphors.com


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.