[Ra...] Posted June 22, 2023 Share Posted June 22, 2023 Hi All, In PiWeb reporting, what do you add to get the reports to append with a date or something else so they don't overwrite? I can run a part 10x and it just saves the last report ran. I'm just saving them to a local reports folder. Thanks Link to comment Share on other sites More sharing options...
[Jo...] Posted June 22, 2023 Share Posted June 22, 2023 viewtopic.php?p=41066#p41066 See the pdf in that thread Link to comment Share on other sites More sharing options...
[Ra...] Posted June 22, 2023 Author Share Posted June 22, 2023 Please sign in to view this quote. Ahh. Perfect thanks! Link to comment Share on other sites More sharing options...
[To...] Posted June 22, 2023 Share Posted June 22, 2023 Please sign in to view this quote. Here is a video I created on the topic. https://youtu.be/xYYknavH1VQ Link to comment Share on other sites More sharing options...
[Ai...] Posted 3 hours ago Share Posted 3 hours ago I cannot access the PDF, How would you results append instead of overwrite? Link to comment Share on other sites More sharing options...
[DW...] Posted 3 hours ago Share Posted 3 hours ago Please sign in to view this quote. Please sign in to view this username. You add a timestamp to the filename convention using header variables. So instead of something like +getRecordHead("planid")+".pdf" you would use +getRecordHead("planid")+"_"+getRecordHead("date")+"_"+getRecordHead("time")+".pdf" which would give you something like PART123_10-20-2026_14-37-52.pdf. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in