I've set up a way to print reports of the data in my app by creating html files that use tables to keep the report columns aligned, and starting an external web browser so the user can see the reports and print them. The logic for gathering the data, sorting it, sub-totalling and totalling is already in place
I'd really like to be able to keep all this within Rev instead of relying on html. I'm hoping for some sort of field control on a card that will hold the report and a print button and maybe some other option buttons. I'll need to be able set up tab stops, insert tabs into the data (or some other method of keeping the columns aligned), and also be able to insert graphic elements into the reports but this is an area I haven't yet explored in Rev so hoping for some tips on how to go about implementing something like this.
Thanks,
Pete
Creating reports
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Creating reports
Hi Pete,
It should be rather easy to create a template stack that contains some default text and perhaps a logo. Add/change the content of the card dynamically while printing within an "open printing" structure. Feel free to ask more specific questions.
Best,
Mark
It should be rather easy to create a template stack that contains some default text and perhaps a logo. Add/change the content of the card dynamically while printing within an "open printing" structure. Feel free to ask more specific questions.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode