Max Wanadoo
max.wanadoo at gmail.com
Mon Mar 23 04:10:26 CDT 2009
This won't:- Public Function KillTxt3() On Error Resume Next : Kill "C:\Program Files\EMSReports\Imports\*.txt" End Function still one-liner <g> Max On Mon, Mar 23, 2009 at 8:21 AM, Steve Schapel <miscellany at mvps.org> wrote: > Max, > > Yep, that's simple all right. But will throw an error if no .txt files. > > Regards > Steve > > > -------------------------------------------------- > From: "Max Wanadoo" <max.wanadoo at gmail.com> > Sent: Monday, March 23, 2009 8:49 PM > To: "'Access Developers discussion and problem solving'" > <accessd at databaseadvisors.com> > Subject: Re: [AccessD] Kill Text > > > Looks good to me, Stu. > > > > Even better (perhaps) > > > > Public Function KillTxt() > > Kill "C:\Program Files\EMSReports\Imports\*.txt" > > End Function > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com >