Clipper Report Class

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
serge_girard
Posts: 1868
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 292 times
Been thanked: 67 times
Contact:

Re: Clipper Report Class

Post by serge_girard » Mon Mar 20, 2017 7:54 am

Thanks Anand !

Serge

User avatar
tonton2
Posts: 245
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Has thanked: 3 times
Been thanked: 6 times
Contact:

Post by tonton2 » Mon Mar 20, 2017 10:52 am

formidable travail Arnand !
merci beaucoup !
Thanks Anand !
L'Algerie vous salut
Y.TABET

User avatar
Pablo César
Posts: 4058
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 177 times

Post by Pablo César » Mon Mar 20, 2017 11:34 am

Hi Anand,

First I want to thank you for your contrib and give you my feedback in my tests.

All reports now in left margin it was fixed.

The only point is at field when is large name city is (for example):
  1. For PDF, it's not space separation with state field.
  2. For HTM, there much space between field as follows:
    Screen133.png
    Screen133.png (29.63 KiB) Viewed 734 times
    It was open in Google Chrome and IE (same result)
In the generated worksheet everything is correct. It could only do auto-adjust in columns size as something that would improve in viewing.
Not that this is obligatory to do, but would be very practical if there was possibility to do.

Congrats Anand, very cool. :P

Certainly this its goes to my chest of useful libraries. :)

And I hope it's made available on HMG in next versions. :P
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

RPC
Posts: 95
Joined: Fri Feb 10, 2017 4:12 am
Has thanked: 22 times
Been thanked: 3 times

Post by RPC » Tue Mar 21, 2017 8:07 pm

Anand wrote:
Sun Mar 19, 2017 6:17 pm
Thanks for the appreciation. :)

I have fixed the PDF error and also header is printing in HTML and XLS files now.
Left margin given for Print preview.

Full source attached.

Regards,

Anand
Hi
It is working all right now except for in HTML format.
Thanks 8-)

User avatar
Pablo César
Posts: 4058
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 177 times

Post by Pablo César » Tue Mar 21, 2017 8:56 pm

And in PDFs in a little susceptible way...
Screen142.png
Screen142.png (56.08 KiB) Viewed 690 times
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
Anand
Posts: 209
Joined: Tue May 24, 2016 4:36 pm
DBs Used: DBF
Has thanked: 23 times
Been thanked: 33 times

Post by Anand » Wed Mar 22, 2017 9:21 am

Thanks for the feedback and appreciation.

I will look into html and pdf bugs.

Regards,

Anand
Image

User avatar
Anand
Posts: 209
Joined: Tue May 24, 2016 4:36 pm
DBs Used: DBF
Has thanked: 23 times
Been thanked: 33 times

Post by Anand » Mon May 08, 2017 5:00 pm

Finally found some free time to look at the Report Class.

I did some r&d on "absolute position" in html and found that it was much better than the normal "table" logic I was using for HTML output.

I have added a new menu, 'HTML Absolute Position File'. The output htm file is done using inline css code for "absolute position".
Attached the full source code here for version "1.004".

BTW I want to know, what is best approach ? i.e. to attach the latest zip in next message or always edit and attach on the first message ? You see one has to go through lots of messages to find the last version.

Regards,

Anand
Attachments
2017-05-08_222909.png
2017-05-08_222909.png (11.65 KiB) Viewed 599 times
2017-05-08_223021.png
2017-05-08_223021.png (21.8 KiB) Viewed 599 times
Report_Class_v1.004.zip
(24 KiB) Downloaded 77 times
Image

User avatar
Pablo César
Posts: 4058
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 177 times

Post by Pablo César » Mon May 08, 2017 7:41 pm

Hi Anand,

Thank you for your update and interest for fixing.
I did not tested yet, but I promise to give you my feedback.

Regarding this:
BTW I want to know, what is best approach ? i.e. to attach the latest zip in next message or always edit and attach on the first message ?
In my usual updates of my projects I have remove all previous versions, because I prefer to NOT giving space for missunderstanding in old behaviour of old versions. So I post always the last my best version of my projects at last message of my topic and remove old ones.

I see in this forum, users are very often to use OLD versions... :| :evil:

I really do not accept this bad and vicious behavior of not using the latest version available from our colleagues... (really I do not support that).

So, my best tip is ALWAYS thru away old versions...

IMHO, hear a song from vinyl is not the best option... only old people likes this thinking... I do not ! ! :mrgreen:
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
Steed
Posts: 303
Joined: Sat Dec 12, 2009 3:40 pm
Been thanked: 2 times

Post by Steed » Wed May 10, 2017 3:50 am

Thnaks

Shyam
Posts: 8
Joined: Thu Jul 27, 2017 7:04 am
DBs Used: DBF
Has thanked: 1 time
Been thanked: 2 times

Post by Shyam » Tue Aug 01, 2017 6:27 am

Thanks Anand Sir, Again,
Really , this is good to help us.
I just want what you have provide
I imagine , I want to embelle report source code inside application
that is good to us, as well as more efficent,
I am not aware with class, and not used much more class ,
I wrote simple application for our inhouse requirement in Clipper, Visual foxpro and Visual Basic etc.

well , however , we are using , R&R or Crystal Report Util. , sometime user can be done something wrong with
our external stored file.
I will definately try well,
thanks again, all members to always active and try to help each other to us.

thanks all
shyam
shyamlimbachia@gmail.com

Post Reply