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
User Module: Application: Data Report Creator and Printer
-
- Addict
- Posts: 1310
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
User Module: Application: Data Report Creator and Printer
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
- Andre
- PureBasic Team
- Posts: 2137
- Joined: Fri Apr 25, 2003 6:14 pm
- Location: Germany (Saxony, Deutscheinsiedel)
- Contact:
Re: User Module: Application: Data Report Creator and Printe
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
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...

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...

-
- Addict
- Posts: 1310
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: User Module: Application: Data Report Creator and Printe
Thanks Andre
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.
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.- 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
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.
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
Re: User Module: Application: Data Report Creator and Printe
Hi Dave, This is the link with the 404 message.
https://www.dropbox.com/s/tdnid5fdw01mh ... r.zip?dl=0
Thanks.
https://www.dropbox.com/s/tdnid5fdw01mh ... r.zip?dl=0
Thanks.
http://www.oldtimeradiotoday.com - Listen to or download classic old time radio broadcasts.