Group execution bug

Hi

I had put a similar post earlier but need to put it again as the first one failed to produce any response.

In my reportviewer webform, when I have a "Group" (in a table) then the group execution sequence of the group is Header - Footer - Detail.

Shouldnt it be Header-Detail-Footer?

Since my group footer executes before the group details I have no data in to do the footer calculations !!

Has anyone encountered this issue?

regards

mqs

[509 byte] By [mqsash] at [2007-12-24]
# 1

Group header and footer are always evaluated before going "inside". The reason is that expressions inside can reference e.g. textbox values in the group header and footer because they are both in the "parent" scope.

-- Robert

RobertBrucknerMSFT at 2007-10-8 > top of Msdn Tech,Visual Studio,Visual Studio Report Controls...
# 2
so if I have to calculate a sum and print it in the group footer, then I need to keep adding and updating the footer for each detail row?
Would'nt it be better if we first filled the detail rows and then when we get to the footer do the adding and updating the footer only once?

BTW - any idea why the table doesn't exhibit this behaviour?

mqs

mqsash at 2007-10-8 > top of Msdn Tech,Visual Studio,Visual Studio Report Controls...

Visual Studio

Site Classified