A apples76 Registered User. Local time Today, 05:30 Joined Apr 25, 2006 Messages 15 Nov 2, 2006 #1 I currently store temporay word files on each users C drive (c:\access info\forms\*.doc) and i want to delte these files on exit from the database. could anybody please advise on how to do this. Thanks
I currently store temporay word files on each users C drive (c:\access info\forms\*.doc) and i want to delte these files on exit from the database. could anybody please advise on how to do this. Thanks
J JoseSharp Registered User. Local time Yesterday, 21:30 Joined Oct 23, 2006 Messages 15 Nov 2, 2006 #2 Would this help 'save strFile = "file name" strOutFile = "c:\access info\forms\" + strFile + ".doc" 'delete if file already exits If Dir(strOutFile) > "" Then VBA.Kill (strOutFile) End If docmd.exit
Would this help 'save strFile = "file name" strOutFile = "c:\access info\forms\" + strFile + ".doc" 'delete if file already exits If Dir(strOutFile) > "" Then VBA.Kill (strOutFile) End If docmd.exit