Change the name of the eReport in the database folder

All things related to the Script feature of AccuZIP6, including the Script Monitor.

Moderators: Chrissy, Steve, Terry, Donna, Dave, Eric, MartyH, Kristen, Geoff, Vince

Post Reply
User avatar
Dave
Site Admin
Posts: 620
Joined: Wed Sep 20, 2006 3:20 pm

Change the name of the eReport in the database folder

Post by Dave » Thu Feb 26, 2009 10:16 am

If you would like to rename the eReports.pdf in the folder where it's being created from the current database, use the following command line.
When you create a report to a PDF in AccuZIP6, we always save it to the default folder where the file is located with the name of the file then eReports.pdf
The command will rename
Filename eReports.pdf to Filename eReports1.pdf

From the Edit>Command window, copy/paste the following code into the Command statement syntax area.

Code: Select all

com_PDFFilePath=DBF()
rename FORCEEXT(com_PDFFilePath,"")+" eReports.pdf" to FORCEEXT(com_PDFFilePath,"")+" eReports1.pdf"

Post Reply