Why I hate report generators ? :)

Source code related resources

Moderator: Rathinagiri

User avatar
sudip
Posts: 1444
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India
Has thanked: 4 times

Re: Why I hate report generators ? :)

Post by sudip » Mon Jul 06, 2009 2:33 am

Hello Master Roberto,
I tested it. Excellent!
Thanks a lot.
Regards.
Sudip
With best regards,
Sudip

shridhar
Posts: 32
Joined: Mon May 25, 2009 5:24 am

Post by shridhar » Mon Jul 06, 2009 5:50 am

Hello Master ,

Could you please include this Report Manager in the HMG official release ?

Thanks
Shridhar

User avatar
Roberto Lopez
HMG Founder
Posts: 3900
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 136 times

Post by Roberto Lopez » Mon Jul 06, 2009 1:08 pm

shridhar wrote:Hello Master ,

Could you please include this Report Manager in the HMG official release ?

Thanks
Shridhar
I'll do it.

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
sudip
Posts: 1444
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India
Has thanked: 4 times

Post by sudip » Mon Jul 06, 2009 1:18 pm

Hello Master Roberto,

I wrote my previous message in a hurry.

There are some points about report generator I have noticed:
1. Very easy to program.
2. Easiest way of customization of paper size. I am telling this, because I was experimenting about this for some weeks with many Harbour and xHarbour libraries. Our HMG is the best. And with Report Generator, Best even becomes Better :)
3. Codes are so structured that sometimes I thought we don't need any GUI Report Generator any more. In my "pseudo-poetic" language may I call it "pen-picturing" or "keyboard-picturing" :)
4. I got some ideas about how Report Generators work. IMHO, this knowledge is more helpful than Report Generator itself (please don't misunderstand me, I like this application very much).

My wishlist:
There are many. But, I don't want to say them right now, because they may diverse your focus.

Thank you again for this excellent application.

With best regards.

Sudip
With best regards,
Sudip

User avatar
Rathinagiri
Posts: 5172
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 136 times
Been thanked: 131 times
Contact:

Post by Rathinagiri » Mon Jul 06, 2009 1:47 pm

3. Codes are so structured that sometimes I thought we don't need any GUI Report Generator any more. In my "pseudo-poetic" language may I call it "pen-picturing" or "keyboard-picturing" :)
IMHO, this is VISUAL! Visual, inside the mind.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
Roberto Lopez
HMG Founder
Posts: 3900
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 136 times

Post by Roberto Lopez » Mon Jul 06, 2009 8:52 pm

sudip wrote:3. Codes are so structured that sometimes I thought we don't need any GUI Report Generator any more. In my "pseudo-poetic" language may I call it "pen-picturing" or "keyboard-picturing" :)
I've discovered this kind of 'visually structured' code for the first time in RapidQ (a wonderful BASIC compiler written in Delphi).

I've applied the concept for the first time in window definitions, later in TAB and the other controls.

So, it's not my idea :)


Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Post by Vanguarda » Mon Jul 06, 2009 10:24 pm

Thanks Master for this new version.

regards,
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/

User avatar
fchirico
Posts: 324
Joined: Sat Aug 23, 2008 11:27 pm
Location: Argentina

Post by fchirico » Mon Jul 06, 2009 11:25 pm

Roberto Lopez wrote:Hi All,

A new version of the report generator (attached to this message).

I've added grouping and custom paper size support.

Enjoy!

Roberto.
Guauuuuuuuuuuu!!!

Excelent!!!

Thank Youuuuuu.

saludos, Fernando Chirico.
Saludos, Fernando Chirico.

User avatar
Roberto Lopez
HMG Founder
Posts: 3900
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 136 times

Post by Roberto Lopez » Thu Jul 09, 2009 2:24 am

Well... it was rainy, windy and very cold here, so, I've continued working on report generator :)

I've added PDF output support. It is based on 'hbvpdf' Harbour contrib library.

The code is attached to this message.

To test, look at 'demo6.prg'

Here are the details:

Code: Select all

PDF Output:

- This feature relies on hbvpdf Harbour contribution library and must be considered experimental. Objects position could not be fully accurate. It will require more research.

- If <cOutputFile> is specified as 4th parameter on 'ExecuteReport' function, a PDF file with report content will be generated. (<lPrintPreview> and <lSelectPrinter> parameters will be ignored). 

- Only .jpg image files are allowed. 

- There is not color support yet.

- The following fonts are supported: 

	- Times
	- Helvetica
	- Courier

- The following paper sizes are supported for PDF output:

	- PRINTER_PAPER_LETTER
	- PRINTER_PAPER_LEGAL
	- PRINTER_PAPER_A4

- Sample:

	Demo6.prg

Enjoy!

Roberto.
Attachments
report4.rar
(28.55 KiB) Downloaded 253 times
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
Rathinagiri
Posts: 5172
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 136 times
Been thanked: 131 times
Contact:

Post by Rathinagiri » Thu Jul 09, 2009 3:19 am

Fantastic and cool! It looks nice and promising. Thanks Roberto.

Let there be more rain in your city. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

Post Reply