Totals in group header??
The demo which tittled "Total in group header"
I am trying to do the same example with a new projects I am copying DataSets objects (RepQuery, RepQuerySource, QueryDS) and frxReport1 from main form of the demo. Then editing the report by copying the bands from the original demo report design then writing the script on the appropriate obp event.
Then previewing the report and the summing values are not printing then having an error dialog box with this message:
The following errors occured:
Unknown variable or field: Action Club
Unknown variable or field: Action Diver Supply
Unknown variable or field: Adventure Undersea
Unknown variable or field: American SCUBA Supply
Unknown variable or field: Aquatic Drama
...
...
and following like that.
Where am I doing wrong? Thanks for help.
I am trying to do the same example with a new projects I am copying DataSets objects (RepQuery, RepQuerySource, QueryDS) and frxReport1 from main form of the demo. Then editing the report by copying the bands from the original demo report design then writing the script on the appropriate obp event.
Then previewing the report and the summing values are not printing then having an error dialog box with this message:
The following errors occured:
Unknown variable or field: Action Club
Unknown variable or field: Action Diver Supply
Unknown variable or field: Adventure Undersea
Unknown variable or field: American SCUBA Supply
Unknown variable or field: Aquatic Drama
...
...
and following like that.
Where am I doing wrong? Thanks for help.
Comments
procedure Band7OnBeforePrint(Sender: TfrxComponent);
begin
Set(<Sales."Company">, Sum(<Sales."Qty">*<Sales."List Price">));
end;
to
procedure Band7OnBeforePrint(Sender: TfrxComponent);
begin
Set(<Sales."Company">, Sum(<Sales."List Price">));
end;
total is not calculating.
Wayne