Click here to Skip to main content
15,892,927 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
AnswerRe: Report generators? Pin
DerekT-P11-Jan-22 4:57
professionalDerekT-P11-Jan-22 4:57 
GeneralRe: Report generators? Pin
Sander Rossel12-Jan-22 1:53
professionalSander Rossel12-Jan-22 1:53 
AnswerRe: Report generators? Pin
Johnny J.11-Jan-22 5:11
professionalJohnny J.11-Jan-22 5:11 
AnswerRe: Report generators? Pin
kmoorevs11-Jan-22 5:20
kmoorevs11-Jan-22 5:20 
AnswerRe: Report generators? Pin
charlieg11-Jan-22 6:26
charlieg11-Jan-22 6:26 
GeneralRe: Report generators? Pin
PIEBALDconsult11-Jan-22 12:47
mvePIEBALDconsult11-Jan-22 12:47 
GeneralRe: Report generators? Pin
charlieg14-Jan-22 5:11
charlieg14-Jan-22 5:11 
GeneralRe: Report generators? Pin
PIEBALDconsult11-Jan-22 8:59
mvePIEBALDconsult11-Jan-22 8:59 
I roll my own.

When I was first starting to learn C# (wow, was that really twenty years ago?) one project used ActiveReports and it was awful -- it may have improved since.

A few years later I had to write a subsystem which could execute (previously defined) Crystal Reports (and provide values to any required parameters) -- which I hope I never have to do again.


One of my main peeves with "reports" is that all too often someone walks into the office with a scruffy sheet of paper and says something like, "Joe used to run this report for me at the start of every month, but he's gone now, can you run it for me?" To which the only answer is "no". Even provided a soft-copy, no, I can't, I have no idea how it was generated.

To wit -- the output does not contain the original input.

So, what I chose to do for an employer about fifteen years ago was to define my own simple report engine. The report definition is in XML -- it basically only supports executing one SQL SELECT statement against a database, which was "good enough". The output is the same XML with the result data included (plus parameter values and such).

So then, given a soft-copy of a report, I can feed it in as the input and re-run it -- providing new parameter values as required.

The process then allows the recipient to view the report with either Excel or a Web Browser by using XSLT to transform the XML to either CSV or XHTML. Slick as snot.

What's the next worst peeve about "reports" (in PDF or whatever)? Having a middle-manager bring one (a soft-copy I hope) to you and say, "we need you to load this data into our analysis database so we can analyze it". FFS! It came from a database; just get the raw data! Nope, they're not allowed access to the database. Sigh | :sigh:

Well, given one of my reports, they have the data in XML or CSV, so it's not that difficult to ETL into whatever analysis database they choose.
AnswerRe: Report generators? Pin
Bob Needham12-Jan-22 2:10
Bob Needham12-Jan-22 2:10 
AnswerRe: Report generators? Pin
Matt Bond12-Jan-22 2:49
Matt Bond12-Jan-22 2:49 
AnswerRe: Report generators? Pin
Marc Greiner at home12-Jan-22 3:11
Marc Greiner at home12-Jan-22 3:11 
AnswerRe: Report generators? Pin
Steve Naidamast12-Jan-22 4:38
professionalSteve Naidamast12-Jan-22 4:38 
AnswerRe: Report generators? Pin
abmv12-Jan-22 5:09
professionalabmv12-Jan-22 5:09 
AnswerRe: Report generators? Excel Pin
michaelbarb12-Jan-22 6:51
michaelbarb12-Jan-22 6:51 
GeneralRe: Report generators? Excel Pin
charlieg12-Jan-22 9:36
charlieg12-Jan-22 9:36 
GeneralRe: Report generators? Excel Pin
Sander Rossel13-Jan-22 4:14
professionalSander Rossel13-Jan-22 4:14 
GeneralRe: Report generators? Excel Pin
michaelbarb13-Jan-22 7:32
michaelbarb13-Jan-22 7:32 
GeneralCCC 11-01-2022 Pin
pkfox10-Jan-22 22:19
professionalpkfox10-Jan-22 22:19 
GeneralRe: CCC 11-01-2022 Pin
Randor 10-Jan-22 23:04
professional Randor 10-Jan-22 23:04 
GeneralRe: CCC 11-01-2022 - Winner Pin
pkfox10-Jan-22 23:09
professionalpkfox10-Jan-22 23:09 
GeneralDon't think I was very awake this morning ... Pin
OriginalGriff10-Jan-22 21:25
mveOriginalGriff10-Jan-22 21:25 
GeneralRe: Don't think I was very awake this morning ... Pin
Richard MacCutchan10-Jan-22 21:49
mveRichard MacCutchan10-Jan-22 21:49 
GeneralRe: Don't think I was very awake this morning ... Pin
OriginalGriff10-Jan-22 21:58
mveOriginalGriff10-Jan-22 21:58 
GeneralRe: Don't think I was very awake this morning ... Pin
Richard MacCutchan10-Jan-22 22:01
mveRichard MacCutchan10-Jan-22 22:01 
JokeRe: Don't think I was very awake this morning ... Pin
Kornfeld Eliyahu Peter10-Jan-22 22:05
professionalKornfeld Eliyahu Peter10-Jan-22 22:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.