DOCUMENT= fix


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant Foraker on November 08, 2011 at 14:16:37: Uploaded files: 1

Comet16.450 & current everything


PRINT (1) (TR);(SpoolMessage = PDFFILE$)
LET PDFFILE$ = PDFFILE$ + '-' + SUB(ZDATE$,7,4) + SUB(ZDATE$,1,2) + SUB(ZDATE$,4,2)
LET PDFFILE$ = PDFFILE$ + '-' + SUB(SYSTIME$,1,2) + SUB(SYSTIME$,4,2) + SUB(SYSTIME$,7,2) + '.PDF'

LET MESSAGE$ = ZDATE$
ENTER 'GETFY' ! GET FISCAL YEAR
INPUT (#) PDFFY$

LET PDFDOC$ = STRIP(ZPDFPATH$) + 'FY' + PDFFY$ + '\' + PDFSRCE$ + '\' + STRIP(PDFFILE$)
PRINT (1) (TR);(Document = PDFDOC$,"")

If "DOCUMENT=" fails, usually a bad path, it also causes the (SpoolMessage=) to fail in it's file copy. Leaving an "error" entry in DocMgr.

Users may not recognize that there even was a problem.

This situation needs a "kaboom"! Or an "El Kabong" for the programmer.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]