For sometime I wanted to collaborate with the community of Xojo and to give back some of what I have received and learned from her, and now I share this small project that I hope will be useful, the project demonstrates some methods and classes to generate reports that I developed using the Plugins from Einhugur, Monkeybread (I met them personally at the last conference in Berlin) and Valentina Reports ADK and Server, much of it code used has been taken from the forum or examples from the manufacturers of plugins, so the credit is for all of them.
My work has been only an adaptation and compilation.
This project can be freely used, modified or improved as well.
Most of these plugins came in the latest Omegabundle, and Einhugur’s are widely used by the community.
The plugins you need are (latest versions published to date):
Einhugur: datepicker, errorprovider, searchcontrol, excelwriter, e-crypt engine compression
Monkeybread: dynapdf starter
Valentina: valentina for xojo, Valentina reports if you want view and edit the report project.
With minimum changes the project should works on Windows, Linux Mac and Web, in 32-bit and 64-bit versions of each.
The main methods of the project are:
- listboxtoexcel, querytoexcel (Einhugur)
- listboxtopdf (Monkeybread)
- tovalentinalocal, tovalentinaserver (Valentina), with options of preview, direct printing and pdf generation, also shows how to use the latest parameters functions and direct printing.
The project uses the sqlite database “sakila” for the examples.
The tovalentinaserver method must be modified to be usable.
Check that the project, database, and project paths in valentina reports are in accordance with the code
Apologies for my bad english
https://www.dropbox.com/s/j1qu5dpqfv94xcu/reportssample.rar?dl=0
Best regards
Sebastin Brito