G
Guest
Is it possible to view the contents of a folder instead of a table?
Against my advice, I have to have our database functioning over a wan, and
we've had problems with previous databases due to the instability. So, as a
precaution, I have the database back itself up with date and time added to
the copies each time it opens, before any data is entered. This keeps several
backup copies which I routinely clear out.
Restoring isn't integrated into the database and I'd like to create an easy
way to do it. What I want to do is be able to view the Folder containing a
list of the backup files through a query (like a list box), so the most
recent or closest to the most recent can be selected from a list. I thought
of using something like:
Dir("C:\FolderName\")
but it only returns one filename instead of all the files in that folder.
I may be way off on this, if there is a better way to go about it, I'd like
to know. If not, is there an equivelant statement to the one above that will
return all the files in that directory?
Thanks in advance.
Against my advice, I have to have our database functioning over a wan, and
we've had problems with previous databases due to the instability. So, as a
precaution, I have the database back itself up with date and time added to
the copies each time it opens, before any data is entered. This keeps several
backup copies which I routinely clear out.
Restoring isn't integrated into the database and I'd like to create an easy
way to do it. What I want to do is be able to view the Folder containing a
list of the backup files through a query (like a list box), so the most
recent or closest to the most recent can be selected from a list. I thought
of using something like:
Dir("C:\FolderName\")
but it only returns one filename instead of all the files in that folder.
I may be way off on this, if there is a better way to go about it, I'd like
to know. If not, is there an equivelant statement to the one above that will
return all the files in that directory?
Thanks in advance.