Discussion:
Problem with grandTotal
(too old to reply)
Guillaume
2010-09-29 08:42:03 UTC
Permalink
How can i set the "Print Grand Total" Flag in a Runbase Report over X++ Code?
The Flag can be found on Reportdialog "Select" --> Tab Print Options -->
Print Grand Total.

Thanks to a previous post, I found that :
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
reportRun.printGrandTotal(true);

"reportRun" is a membervariable of the class RunBaseReport.
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

So, in the report, my init method :
________________________________
SysReportRun _sysReportRun
;

super();
_sysReportRun = element;

_sysReportRun.printGrandTotal(true);
________________________________

But unfortunately that doesn't work...

Who can help me?

Thanks by advance,
Guillaume
Maciek Sondej
2010-11-03 12:57:54 UTC
Permalink
You should put your code

SysReportRun _sysReportRun
;

_sysReportRun = element;

_sysReportRun.printGrandTotal(true);

into overide dialog() method in your report.

BR
Maciek
Post by Guillaume
How can i set the "Print Grand Total" Flag in a Runbase Report over X++ Code?
The Flag can be found on Reportdialog "Select" --> Tab Print Options -->
Print Grand Total.
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
reportRun.printGrandTotal(true);
"reportRun" is a membervariable of the class RunBaseReport.
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
________________________________
SysReportRun _sysReportRun
;
super();
_sysReportRun = element;
_sysReportRun.printGrandTotal(true);
________________________________
But unfortunately that does not work...
Who can help me?
Thanks by advance,
Guillaume
Submitted via EggHeadCafe - Software Developer Portal of Choice
SharePoint Lists In Excel Via VSTO
http://www.eggheadcafe.com/tutorials/aspnet/b56c03b3-35ea-43c5-8b87-2f0be518377c/sharepoint-lists-in-excel-via-vsto.aspx
Loading...