Jump to content

having report append not overwrite


---
 Share

Recommended Posts

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

  • 3 years later...

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

 Share

×
×
  • Create New...