Best format for reports

CharlesR

Member
Licensed User
Longtime User
My app generates several short numeric reports which are saved as text files and displayed on the tablet when required, but I also need to provide a longer more general management report which will include several pages of text and perhaps some simple charts such as pie charts/bar charts.

As I have not done anything like this before, my question is what is the simplest method of providing a report using B4A which similar to that which might be produced with a word processor if I was using a pc? This report would also need to be emailed to the customer.

Many thanks

Charles
 

moster67

Expert
Licensed User
Longtime User
Erel published earlier a code-module for pie charts/bar charts. Search the forum and you should find it.

Otherwise, you could also create html-output of your data and report the data using a webview.
 
Upvote 0

CharlesR

Member
Licensed User
Longtime User
I have Erel's module thanks. My question really relates to the best method of embedding all of the different components of the report into one longer management report. Would an html document/file be the most practical/flexible method?

thanks

Charles
 
Upvote 0

CharlesR

Member
Licensed User
Longtime User
Html document with WebView is probably your best option. You can embed the charts created with the charts module by first saving them.

I have succeeded in developing a reasonable report using html, but as I am still new to anything which involves images. I would be grateful for some help in saving a pie chart and its legend so that I can include them in the html report. Is it possible for you to point me towards a code snippet which saves both the legend and the chart as either 1 or 2 files.

Many thanks in advance.

Charles
 
Upvote 0
Top