Page 1 of 1

User Module: Application: Data Report Creator and Printer

Posted: Thu Mar 17, 2016 9:58 pm
by collectordave
I needed a data report creator and printer routine for a couple of applications I am converting after searching the forum I could not find anything so developed this.

My design brief was for a simple data report creator and print application and to allow predeined reports to be distributed with an application to be printed from a menu selection.

The heart of the application is Report.pbi which holds all the code to create a new report, load, save and print an existing report.

there are way too many characters to post here so this is my first try at a dropbox link. Apparently just click the link and download.

https://www.dropbox.com/s/tdnid5fdw01mh ... r.zip?dl=0

This is my first attempt at a complete application but please post all bug reports and code improvements here. I have tested this to small extent on Windows and MAC OSx.

Kind regards

CD

Re: User Module: Application: Data Report Creator and Printe

Posted: Thu Mar 17, 2016 10:51 pm
by Andre
Did a (short) test on MacOS 10.6.8 with PB5.42 - and it seems to run very well, especially well-working code for printing is included. Thank you :mrgreen:

Some first notes:
- included "SelectImages.pbi" is missing in the package, had to comment the related IncludeFile statement
- If I go to 'Preview' and have no report loaded before, a "missing gadget" occurs on line 142 in CDPrint.pbi

More testing is needed... :D

Re: User Module: Application: Data Report Creator and Printe

Posted: Fri Mar 18, 2016 6:10 am
by collectordave
Thanks Andre
- included "SelectImages.pbi" is missing in the package, had to comment the related IncludeFile statement
- If I go to 'Preview' and have no report loaded before, a "missing gadget" occurs on line 142 in CDPrint.pbi
The select Images.pbi include is my mistake. I found that on windows you can set to view images as you select and the MAC displays an image as you select so it was an uneeded complication just uses the openfile requester now. I can reinclude if needed for Linux.

Fixed the missing gadget bit as well will repost the zip file ASAP.

This will be updated as I wish to include a Print which pages dialog and to remove that little bug I need to return a value from the report printing so it can run in silent mode to count pages as well as preview and print mode.

Re: User Module: Application: Data Report Creator and Printe

Posted: Thu Feb 06, 2020 8:25 am
by Columbo
Hi Dave, This is the link with the 404 message.

https://www.dropbox.com/s/tdnid5fdw01mh ... r.zip?dl=0

Thanks.