Hello,
i’m trying to build a general report that will triger from a table of general reports.
the event table is different from the data-source - i looked in the “appsheet documents” (automation) and there’s a note that i need a further explation.
With a PDF it is different. Setup the automation to trigger on your Reports Table as usual - on a row added or changed.
Inside the PDF template you would use START/END blocks with SELECT statements that choose the rows from whatever table or tables you wish to report on. You might use the Reports table row to grab criteria to use in the associated SELECTs but otherwise you basically ignore the Reports table row for the report data itself.
now im facing a new problem - the report is 4 pages long, and the logo&info that i embbeded in the header&footer - is not printed on all pages, just at the start and end of the document.
The Appsheet PDF generator does not support paging. There is not a way to get headers and footers to show on each page.
There have been alternative methods to creating reports that are HTML based. I have never tried them. One of the App Creators produced a 3 part post describing how to set it up and produce documents that way. I’ll try to find those posts and link them here.
Here are the links. There is a learning curve and as such I have yet to try it out. According to the original poster, Oscar, it is better way to produce the reports as you have more control. He seems to be a detailed oriented person so I believe him. It’s worth trying it out and assessing for yourself.
HTML is not just a workaround, it’s one of the primary supported formats.
MSWord and GDocs are first transformed into HTML behind the scenes -which is where most formatting issues are presented because some features are lost- so using HTML directly removes one step and reduces any formatting guessing