I have an application in Access 2003 that a client is now requesting do something I've never attempted before. From the application, they want to be able to navigate to a specific folder on their local drive, select it, copy it to a location on their network drive while potentially checking and/or creating a new folder based on record information and renaming the folder to correspond with a date field on a record. Here is an example:
The database has records keyed on a Job# field, for example, 1000 and each record has a unique entry date. Each user will have a folder in their local drive with image files in it. I'll call it c:\windows\images. On the network is a folder f:\job tracking\images. They press a button and they want the following to occur:
1. Allow the user to navigate to the c:\windows\images folder or whatever folder holds their image files and select it.
2. Check the f:\job tracking\images folder for a subfolder called 1000 (the job number).
3. If the folder does not exist, create it.
4. If it already exists or after the folder is created, move the entire c:\windows\images folder under the f:\job tracking\images\1000 folder and rename it to the entry date field stored in the table in the format 2007-02-26
5. Finally, they want that path stored in a hypertext field on the record for future access.
I know this is pretty complex but it's mostly moving and renaming folders. I assume there is code out there to do this but I'm having a really hard time finding it and would appreciate any help anybody could lend. Let me know if there's any more information I can provide to make this easier.
The database has records keyed on a Job# field, for example, 1000 and each record has a unique entry date. Each user will have a folder in their local drive with image files in it. I'll call it c:\windows\images. On the network is a folder f:\job tracking\images. They press a button and they want the following to occur:
1. Allow the user to navigate to the c:\windows\images folder or whatever folder holds their image files and select it.
2. Check the f:\job tracking\images folder for a subfolder called 1000 (the job number).
3. If the folder does not exist, create it.
4. If it already exists or after the folder is created, move the entire c:\windows\images folder under the f:\job tracking\images\1000 folder and rename it to the entry date field stored in the table in the format 2007-02-26
5. Finally, they want that path stored in a hypertext field on the record for future access.
I know this is pretty complex but it's mostly moving and renaming folders. I assume there is code out there to do this but I'm having a really hard time finding it and would appreciate any help anybody could lend. Let me know if there's any more information I can provide to make this easier.