Support 805.461.7300
Sales
Our Technology. Your Success.

Change name of your reports from file name.pdf to CASS Certificate.pdf

If you want to rename the PDF of your CASS Certificate, calling it CASS CERTIFICATE.PDF, run this command:

rename FORCEEXT(DBF(),"")+".pdf" to ADDBS(JUSTPATH(DBF()))+"CASS Certificate.pdf"

Here's a command that will rename the eReports file, changing it from yourFileName.pdf to EREPORTS.PDF:

SET SAFETY OFF
=STRTOFILE[REN "]+FORCEEXT(DBF(),"")+" ereports.pdf"+[" "EREPORTS.PDF"],FORCEEXT(DBF(),"BAT"),0)
com_Run=[! /N ]+FORCEEXT(DBF(),"BAT")
&com_Run

« Back to Commands

I can't believe how excellent your support is. The last disaster you rescued me from was one that a programmer had told me had no answer that he knew of. Well, you know more than him! I e mail ed you on a SATURDAY and you had the problem solved by Monday morning!
C.P., Houston, TX