Re: Search for file that has been moved or link file to path?




"Bigrabid" <jwbackes@xxxxxxxxx> wrote in message
news:1177691882.429470.49050@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Howdy,

I have an access database that I use to keep track of projects that my
group is working on. There are a number of files associated with any
one project, so I have [ProjectDescriptions] as a parent to
[ProjectFiles], which holds file paths for all of the most important
files (for easy access and tracking) and a short description of what
each file is. Now, sometimes a file (or a whole directory) will be
moved from outside the confines of the database, or the project folder
will be moved to a backup as the projects are completed, or something
else that makes the path in [projectfiles] not match up with the path
of the file any more.

So, is there a way to either:

Link the file to the database, so that if it moves it will update the
path accordingly;
or
execute a "find file" function that will search through folders and
subfolders looking for the file name (for instance, the saved path is
"C:\deals\JSIncomeStatement.xls" and then it is moved to "C:\deals\JS
\JSIncomeStatement.xls", is there a way to search through C:\deals\
and find all of the files with the name JSIncomeStatement.xls, and
list them, and allow me to choose the one that I want?

Or any other possible workarounds?

Thanks,
Bigrabid


I like a good "find file" function, it's not to slow as long as the search
area can be kept small.


.



Relevant Pages

  • Concurrency Violation in DataSet Update ADO.NET
    ... Now I am developing Cheque Writing ... 'UPDATE DATABASE ... "TBKKTC") ... I use password to protect my Access database from ...
    (microsoft.public.dotnet.general)
  • Re: formatting columns
    ... This works for columns either to the left or right of the cell to be copied. ... >> I am preparing to set up a database in Access2002. ... >> have the time to set up the Access database so I must do ... >> my data entry into Excel. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Web Wiz Forums in New Subweb, Published with FP2003
    ... Whenever I download an Access database and prior to re-uploading I always do a compact and repair ... General rule once your forum is active, you should never download and then re-upload the ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ...
    (microsoft.public.frontpage.client)
  • Re: formatting columns
    ... >> I am preparing to set up a database in Access2002. ... He knows how to use Excel on a limited ... >> have the time to set up the Access database so I must do ... >> in the first cell, and then having to drap it down the ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Failure of Linked table in Access...
    ... SQL Server database via an ODBC DSN. ... in the Access database with various forms and reports. ... error and all subsequent queries on the PROJ table fail. ... The table is one of many tables that are linked from SQL Server ...
    (microsoft.public.access.modulesdaovba)