scousethemoose
Programmer
Hi I'm trying to write a simple routine to search for an Access Database backend located on a network server.
This routine is run everytime my database frontend is opened on a clients machine. At the moment I'm using a very crude way using the file system object, checking to see if a driveExists(A-Z) then checking if a the file exists using the fileExists()function.
The problem with this is that I have to specify a path for the file this may change ofcourse.
Ideally I want a routine which just searches all drives for the file then if found open the frontend else close. I've looked at some recursive search examples they seem to be overcomplicated and quite confusing.
Can any one point me in the right direction?
This routine is run everytime my database frontend is opened on a clients machine. At the moment I'm using a very crude way using the file system object, checking to see if a driveExists(A-Z) then checking if a the file exists using the fileExists()function.
The problem with this is that I have to specify a path for the file this may change ofcourse.
Ideally I want a routine which just searches all drives for the file then if found open the frontend else close. I've looked at some recursive search examples they seem to be overcomplicated and quite confusing.
Can any one point me in the right direction?