Check If File Exists..

B

Brett Davis

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top