Why I hate report generators ? :)
Moderator: Rathinagiri
- Roberto Lopez
- HMG Founder
- Posts: 4009
- Joined: Wed Jul 30, 2008 6:43 pm
Why I hate report generators ? :)
Hi All,
My first paid (true) job was as RPG programmer on IBM S/36 AS/400 systems.
For 'kids' here (< 40 years old ) I must say that RPG was an horrible programming language.
It has its own 'logic' trying to being always 'looping' to make easier the process of report creation.
The problem is that sometimes (always ) you need to do something different than a report in a program, so, you should to 'fight' the language to make it work as you expected (I've exaggerated a little because the angry against 'him' ).
From then (a lot of time!) I've (with a few exceptions) done reports in my applications 'by hand' having total control of the output generated.
While analyzing report manager commented by Rathinagiri, I've realized that could be really useful have one in HMG (and that I should cure myself of my post-traumatic stress case )
So, I coded a little and we have now a very early prototype of the 'HMG report writer'! (attached to this message).
Enjoy!
Roberto.
My first paid (true) job was as RPG programmer on IBM S/36 AS/400 systems.
For 'kids' here (< 40 years old ) I must say that RPG was an horrible programming language.
It has its own 'logic' trying to being always 'looping' to make easier the process of report creation.
The problem is that sometimes (always ) you need to do something different than a report in a program, so, you should to 'fight' the language to make it work as you expected (I've exaggerated a little because the angry against 'him' ).
From then (a lot of time!) I've (with a few exceptions) done reports in my applications 'by hand' having total control of the output generated.
While analyzing report manager commented by Rathinagiri, I've realized that could be really useful have one in HMG (and that I should cure myself of my post-traumatic stress case )
So, I coded a little and we have now a very early prototype of the 'HMG report writer'! (attached to this message).
Enjoy!
Roberto.
- Attachments
-
- report.rar
- (14.13 KiB) Downloaded 925 times
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
Re: Why I hate report generators ? :)
Thanks master, i will test it.Roberto Lopez wrote:Hi All,
My first paid (true) job was as RPG programmer on IBM S/36 AS/400 systems.
For 'kids' here (< 40 years old ) I must say that RPG was an horrible programming language.
It has its own 'logic' trying to being always 'looping' to make easier the process of report creation.
The problem is that the sometimes (always ) you need to do something different than a report in a program, so, you should to 'fight' the language to make it work as you expected (I've exaggerated a little because the angry against 'him' ).
From then (a lot of time!) I've (with a few exceptions) done reports in my applications 'by hand' having total control of the output generated.
While analyzing report manager commented by Rathinagiri, I've realized that could be really useful have one in HMG (and that I should cure myself of my post-traumatic stress case )
So, I coded a little and we have now a very early prototype of the 'HMG report writer'! (attached to this message).
Enjoy!
Roberto.
PS: About horrible programming language. For me COBOL and PCL are the most horrible....
with best regards,
- Roberto Lopez
- HMG Founder
- Posts: 4009
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Why I hate report generators ? :)
I don't believe you... everybody loves those wonderfull things like identification division... environment division.... data division... working storage section... (I've been a COBOL programmer too ).Vanguarda wrote: PS: About horrible programming language. For me COBOL and PCL are the most horrible....
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
Re: Why I hate report generators ? :)
Hi Master,
I test the lib and it work fine with me.
I like it.
Please, i can say only one suggestion?!
Why you not allow this lib work with array too? Well today when I generate a report, i read the my SQL database and recording the array into a temporary DBF and after print. So we could print the array directly if exist a lib that work with array.
Is only my humble wish...
PS: Sorry my bad english.
With best regards,
I test the lib and it work fine with me.
I like it.
Please, i can say only one suggestion?!
Why you not allow this lib work with array too? Well today when I generate a report, i read the my SQL database and recording the array into a temporary DBF and after print. So we could print the array directly if exist a lib that work with array.
Is only my humble wish...
PS: Sorry my bad english.
With best regards,
Re: Why I hate report generators ? :)
Sorry master, but it is only my opinion... I don´t like COBOL, it dont is flexible.Roberto Lopez wrote:I don't believe you... everybody loves those wonderfull things like identification division... environment division.... data division... working storage section... (I've been a COBOL programmer too ).Vanguarda wrote: PS: About horrible programming language. For me COBOL and PCL are the most horrible....
Regards,
Roberto.
- Roberto Lopez
- HMG Founder
- Posts: 4009
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Why I hate report generators ? :)
ehhhh..... it was a joke... I hate it tooVanguarda wrote: Sorry master, but it is only my opinion... I don´t like COBOL, it dont is flexible.
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
Re: Why I hate report generators ? :)
Roberto Lopez wrote:ehhhh..... it was a joke... I hate it tooVanguarda wrote: Sorry master, but it is only my opinion... I don´t like COBOL, it dont is flexible.
Regards,
Roberto.
- Roberto Lopez
- HMG Founder
- Posts: 4009
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Why I hate report generators ? :)
I work with SQL tables too and I retireve as arrays, so I've considered that and I'll surely do (as I've said its a very early prototype yet).Vanguarda wrote: Why you not allow this lib work with array too? Well today when I generate a report, i read the my SQL database and recording the array into a temporary DBF and after print. So we could print the array directly if exist a lib that work with array.
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
Re: Why I hate report generators ? :)
Thanks Master.Roberto Lopez wrote:I work with SQL tables too and I retireve as arrays, so I've considered that and I'll surely do (as I've said its a very early prototype yet).Vanguarda wrote: Why you not allow this lib work with array too? Well today when I generate a report, i read the my SQL database and recording the array into a temporary DBF and after print. So we could print the array directly if exist a lib that work with array.
Regards,
Roberto.
You are amazing.
with best regards,
- Rathinagiri
- Posts: 5476
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Why I hate report generators ? :)
Fantastic! No words to thank.
It will DEFINITELY be useful to everyone using HMG. Just great.
It will DEFINITELY be useful to everyone using HMG. Just great.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.