Clipper Report Class
Posted: Sun Feb 26, 2017 5:09 pm
Long, long years ago, I developed programs in Clipper.
The Clipper book by Rick Spence helped me a lot in understanding Class Inheritance, Detached Block etc.
I found the website The Oasis by Phil Barnett that had thousands if not millions of Clipper programs source codes ranging from simple date calculation to full fledged application. I learnt lot of different technique from the source codes from this site. I think many programmers here will recognize the above.
The Oasis website gave me source of CLass(y) by Anton van Straaten, after it became freeware, and many programs which used Class(y). One of them was Report Class by Jon Credit. It is pure Clipper code using Class(y) to generate tabular reports. The plus point of this class was to have the report columns defined by their width only. Column positions was auto calculated. It is some what similar to GridPrint by Rathinagiri Sir.
After I found Harbour and HMG, I learnt a lot, from the given samples, to make old Clipper codes useful again in Windows 32 bit environment. I wandered through the old forgotten Clipper codes and I stumbled on Report Class.
First I tried to compile it in Harbour and found that just by changing "Class(y)" to "hbclass.ch" it compiled and ran successfully in DOS (CMD) window.
I felt the thirst. I wanted to use this Report Class in a way that output can be Text (which it already does), PDF, HTML and XLS. Also I could have it in HMG Preview.
I want to upload the original Report Class here so that other members check it out. And also to upload my changes, after completion, for HMG so that others can also use it and make it more useful.
Now it is OK to upload it as samples for HMG ? The original Clipper code is by Jon Credit and I have made changes for HMG.
Is this correct thread of the Forum to post ?
One more query. Between MiniPrint and HbPrint, I prefer HbPrint (or WinPrint) as it already have +/- keys for zoom in preview, otherwise I found both nearly same in output. I found that there are replies on winprint in the forum but the HMG installation do not have WinPrint.ch file, whereas the MiniGui_Extended had the samples on it.
So I compiled my changes in MiniGUI_EX. Will it be problem to upload the same here at HMG ?
Please advise.
Regards,
Anand
The Clipper book by Rick Spence helped me a lot in understanding Class Inheritance, Detached Block etc.
I found the website The Oasis by Phil Barnett that had thousands if not millions of Clipper programs source codes ranging from simple date calculation to full fledged application. I learnt lot of different technique from the source codes from this site. I think many programmers here will recognize the above.
The Oasis website gave me source of CLass(y) by Anton van Straaten, after it became freeware, and many programs which used Class(y). One of them was Report Class by Jon Credit. It is pure Clipper code using Class(y) to generate tabular reports. The plus point of this class was to have the report columns defined by their width only. Column positions was auto calculated. It is some what similar to GridPrint by Rathinagiri Sir.
After I found Harbour and HMG, I learnt a lot, from the given samples, to make old Clipper codes useful again in Windows 32 bit environment. I wandered through the old forgotten Clipper codes and I stumbled on Report Class.
First I tried to compile it in Harbour and found that just by changing "Class(y)" to "hbclass.ch" it compiled and ran successfully in DOS (CMD) window.
I felt the thirst. I wanted to use this Report Class in a way that output can be Text (which it already does), PDF, HTML and XLS. Also I could have it in HMG Preview.
I want to upload the original Report Class here so that other members check it out. And also to upload my changes, after completion, for HMG so that others can also use it and make it more useful.
Now it is OK to upload it as samples for HMG ? The original Clipper code is by Jon Credit and I have made changes for HMG.
Is this correct thread of the Forum to post ?
One more query. Between MiniPrint and HbPrint, I prefer HbPrint (or WinPrint) as it already have +/- keys for zoom in preview, otherwise I found both nearly same in output. I found that there are replies on winprint in the forum but the HMG installation do not have WinPrint.ch file, whereas the MiniGui_Extended had the samples on it.
So I compiled my changes in MiniGUI_EX. Will it be problem to upload the same here at HMG ?
Please advise.
Regards,
Anand