[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 https://qualityforum.zeiss.com/topic/7712-having-report-append-not-overwrite/ 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 https://qualityforum.zeiss.com/topic/7712-having-report-append-not-overwrite/#findComment-33260 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 https://qualityforum.zeiss.com/topic/7712-having-report-append-not-overwrite/#findComment-33262 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 1 Link to comment https://qualityforum.zeiss.com/topic/7712-having-report-append-not-overwrite/#findComment-33264 Share on other sites More sharing options...
[Ai...] Posted Tuesday at 05:52 PM Share Posted Tuesday at 05:52 PM I cannot access the PDF, How would you results append instead of overwrite? Link to comment https://qualityforum.zeiss.com/topic/7712-having-report-append-not-overwrite/#findComment-157160 Share on other sites More sharing options...
[DW...] Posted Tuesday at 06:00 PM Share Posted Tuesday at 06:00 PM 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 https://qualityforum.zeiss.com/topic/7712-having-report-append-not-overwrite/#findComment-157162 Share on other sites More sharing options...
[Ri...] Posted Wednesday at 11:00 AM Share Posted Wednesday at 11:00 AM Sample of saving a PiWeb report as PDF with a Date and Time stamp. "C:\CMM Data Files\PDF Files"+"\"+getRecordHead("partnbLong")+"\"+getRecordHead("dmesn")+"\"+getRecordHead("planid")+getRecordHead("partsn")+"_"+getRecordHead("partnbinc")+"_"+getRecordHead("date")+"_"+getRecordHead("time")+"_"+".pdf" Link to comment https://qualityforum.zeiss.com/topic/7712-having-report-append-not-overwrite/#findComment-157200 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