Re: Check If File Exists..
- From: "TPratt" <prattt@xxxxxxxxxxx>
- Date: Wed, 8 Jun 2005 13:35:25 -0400
Try...
If Dir(Path.txt) = "" then
"Brett Davis" <bdavis123@xxxxxxx> wrote in message
news:u6ttbuEbFHA.2900@xxxxxxxxxxxxxxxxxxxxxxx
> Hello...
>
> I am working on a process to import a text file into one of my tables. I
> want to be able to click a command button and to import the text file into
> one of my tables. I have everything I need to do... except I want to
check
> to see if the file exists in a directory\folder... if it does exist then I
> want to import it... otherwise for it to throw a message reading "file not
> found".
> I am looking for and needing the VBA code to do this.
>
> I am using MS Access 2000.
>
> Please advise...
>
> Thank you,
>
> Brett
>
>
.
- References:
- Check If File Exists..
- From: Brett Davis
- Check If File Exists..
- Prev by Date: Re: Requery on checkbox
- Next by Date: Re: Required characters in a field.
- Previous by thread: Check If File Exists..
- Next by thread: Re: Requery on checkbox
- Index(es):
Relevant Pages
|