Move CASS Certificate and Recency Report to Out 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
Eric
Moderator
Posts: 1909
Joined: Tue Sep 19, 2006 3:29 pm
Contact:

Move CASS Certificate and Recency Report to Out folder

Post by Eric » Mon May 11, 2009 4:43 pm

The command below takes the File > Print > CASS Certificate and the NCOA Recency Report and copies them into the into the Archive folder:

Code: Select all

SET SAFETY OFF 
ON ERROR com_Msg=MESSAGE()

com_copyFolder="C:\accuzip\Archive\"

* Copies CASS Report
rename (FORCEEXT(DBF(),"pdf")) TO (ADDBS(com_copyFolder)+FORCEEXT(JUSTFNAME(DBF()),"")+" CASS"+".PDF")

* NCOALink Recency Report
rename (FORCEEXT(DBF(),"")+"*coa*.pdf") TO (ADDBS(com_copyFolder)+"*.*")
Chat with an AccuZIP6 technician weekdays from 7-4 PST with AccuZIP6 Live Online Support

Post Reply