Can't anyone point me to one short, simple, straight-forward example of a CLASSIC Report with, say, 3 columns that are totaled in the report footer?I'm missing something here. In a classic report, there is a 'Sum' checkbox in the Report Attributes screen that totals the column values. Why would you need code?
I'm having a terrible time getting folks to pay attention.I won't post what I'd really like to post in response to that. I don't believe that I was not paying attention to your question. I came in to this after you were asking for the 'code' to create a Classic report with totals. Code has a reasonably specific meaning. Creating a classic report via the Apex interface doesn't qualify. That particular red herring threw me way off in trying to figure out exactly what you were asking for.
I've got to think there's at least a small problem here somewhere -- with the forum, I mean.I agree. It's incredible how difficult it is to get people to post questions that clearly indicate what they are looking for.
I'm sure you meant it all to be very helpful.s'not worth my time to post and not try to be helpful.
What I want is an EXAMPLE, an APEX example program where someone actuallly does this. I don't want a tutorial. I don't want documentation.I've done tech support of one sort or another for a couple of decades. A large portion of the art of generating the correct answer to a question is figuring out what the question being asked really is. At this point I still can't figure out what you're looking for that requires the artificial restrictions you are putting on the type of answer you get. The documentation clearly shows how to use the wizard to create a classic report and how to mark columns to be totaled. Since that isn't sufficient, the information you are seeking isn't really how to total the columns in a classic report.
(more) My goodness! Now I see why it's failing. ou can't get a sum for the first column! The "report total:" literal in that position prevents it! I don't know if there are "declarative" ways around this. I don't think I'm even going to try to get around it.