[AccessD] Kill Text

Stuart McLachlan stuart at lexacorp.com.pg
Mon Mar 23 03:28:03 CDT 2009


You could wrap it in:
 On Error Resume Next
...
On Error Goto 0

--
Stuart

On 23 Mar 2009 at 21:21, Steve Schapel 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





More information about the AccessD mailing list