Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filing suggestions 1

Status
Not open for further replies.

Domino2

Technical User
Jun 8, 2008
475
GB
At present,users put word documents manually into directories they have created on the networked hard drive.
I am trying to build a front end database which will ask them questions about the document they want to file, and the front end application will file the document.

Anyone done a similar operation, and can point me in the right direction. Do I create different directories for subjects of documents? or can I put them all in one directory and somehow have a link between the database record and the document. Thought I would ask the question before walking in quicksand. Thanks
 
I would seriously look at the buy versus build approach. I know that there must be some tools for this filing; and additionally may even compress the files in the process to use less disk space. Good luck!

Steve Medvid
IT Consultant & Web Master

Chester County, PA Residents
Please Show Your Support...
 
I have done some small scale things. I think it depends on how big and complex. I have code for the following. I have a db of "Studies" performed by analyst. Basically it is a project management db. Each Study (project) has multiple documents associated with it. The backend database resides on the network and each user has a front end on their local machines. I use only one document folder on the backend, but with a little more code I could place each Study's documents in their own folder. But I would only need that if you also want to access the documents manually and not using the database. It would be difficult manually to try to find something in a single folder.
Each study has a "document library" form. From there you can access, view, add, or delete a document from the network folder.

When you want to add it pops open a file dialog, you browse for a document, and it copies it into the network document folder. I sometimes will add the primary key of the related study to the document name (but not necessary) Then it adds the hyperlink to the document, and it appears in the list of documents for that study. You then can click on the hyperlink and open the document. If you delete a document, it deletes the record and the file out of the folder.

Pretty basic but works fine for a few hundred programs and a few thousand documents. I have this code if you want. I normally due not build management or administrative databases. My work is usually technical or engineering. So other people may have a better idea or opinions.
 
Thanks Steve, but I need to put in added bits which may be difficult with commercially made product.

Thanks Majp, any starters on code very much appreciated. I will have to find a way to create "Mystery" folder names to stop people manually filing documents outside the program. If only users were sensible!!
 
Many thanks Majp, thats perfect. I never thought of using URL's and adding the id number into the URL is excellent. That gives me a good start, thanks again.
 
I did a compile on the code and it halts on the line
Set glblRsSearch = rs saying the variable was not defined. I tried declaring it as a string and a variant but could not rectify it. Any ideas, thanks
 
Probably a DAO.Recordset

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
This is code from a much bigger project. That is some left over functionality. I can not even remember what it does. Actually for your purposes just delete the frmAllDocuments and the subFrmAllDocuments. This was just another view of the documents library. Everything you need is in the modules and the frmDocuments and subFrmDocuments.
 
Many thanks Majp, thought that might be the case. Thanks PHV, I did try DAO Recordset without success, but now know the reason its unwated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top