Check a path??

A

Ant

Hi All,

I have a piece of code that reconects my front end
depending on which back end is selected.

What I want is a way to check (in the code)that the chosen
path to the selected backend is valid or correct before
running the code.

Any help will be appreciated.

Thanks,
Ant
 
R

Ron Weiner

if len(dir(strUnambigiousFilename)) > 0 then
' File is there
else
' Sorry no file
endif

Ron W
 

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