Page 1 of 1

Move CASS Certificate and Recency Report to Out folder

Posted: Mon May 11, 2009 4:43 pm
by Eric
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)+"*.*")