Different Total between designer and web report

pinbotpinbot Texas
edited 5:56PM in FastReport .NET

I had a funny problem where my report would work correctly in the designer but not when I deployed it.

I have 2 totals that are used in a simple data band. I set the "Reset after print" on both but forgot to set the "Print on Band:" (Pict 1) on one of the totals.


I divide these two totals to get a weighted average occupancy.

When I run the report in the designer, I get the correct total (see picture). When I run the exact same .frx file from a web page, the total is DOUBLED, even though Double-Pass is not checked in the report options.

Is it indeed double passing through my dataset?

Obviously it was a mistake on my part to leave off the "Print on the band" setting but I think it's strange that the same report gives two different totals.



Comments

  • edited 5:56PM
    It happens when you run the same report the second time. I'll fix this in the next daily build.

Leave a Comment