Sounds like my original response. Check for the file first... Sent via BlackBerry by AT&T
-----Original Message----- From: "Howard Fore" <[EMAIL PROTECTED]> Date: Sat, 8 Nov 2008 09:19:22 To: <discussion@acfug.org> Subject: Re: [ACFUG Discuss] Another CFMAIL Problem Why not go ahead and use the job number, but when you're about to write the PDF to disk first check to see if there's already one with that name (initials and job number). If you find one then delete it, then create the new one. Is there some audit reason to keep the earlier version? On Fri, Nov 7, 2008 at 3:48 PM, Peyton Todd <[EMAIL PROTECTED]>wrote: > One solution I thought of is simply to use the job number as the name of > the PDF. This would guarantee that each next one built is different. But > then it occurred to me that if the user reports a job, then realizes he made > a mistake, corrects it, and sends the report again for the same job, there's > a danger that the earlier mistaken version would get sent instead. > -- Howard Fore, [EMAIL PROTECTED] "The universe tends toward maximum irony. Don't push it." - Jeff Atwood ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com ------------------------------------------------------------- N�����r��y����b�X��f�j���鮇���m����q����