NewAndBaffled
New member
- Local time
- Today, 22:55
- Joined
- Feb 20, 2016
- Messages
- 4
BACKGROUND
I am putting together a simple database to handle multiple images taken at various stages of car repair (for looking back on later).
5 potential stages (pre-repair, MET, metalwork, paintwork, post-repair), each stage has some pictures taken. These images are important to be easily searched through & are simply attached to a RegNo & JobNo to identify which car repair they refer to.
I have created a simple form, with JobNo, RegNo & 5 Attachment Fields (1 for each stage).
This gets the images attached ok, so I can now see the images & query by RegNo, JobNo, etc.
QUESTION
At the moment, the user has to copy the images taken into directory structure in Windows, handling filenames & directory names manually. this is cumbersome & not really practical.
So, what I'd LIKE to happen is:
1) Pictures are taken as repair occurs (on a tablet, then transferred to PC).
2) Pictures uploaded to the PC into a temp 'dump' directory, with simple link on Windows desktop
3) Office PC user opens Access database & attaches files (images) to correct Job/Reg/Stage. These images are selected from the 'dump' directory using normal 'attachment' button on Access form.
4) On leaving the record (or closing form), the image files are automatically renamed & moved into a specific sub-folder, with the RegNo and JobNo used to create unique directory name.
5) This leaves the 'dump' directory empty, ready for the next batch of images to arrive.
I've got my database working fine, with a form allowing me to attach Image files to each of 5 'stage' fields. So I'm at point 3 above.
It's the automatically renaming the Image files, Moving them into a created sub-directory, that I'm completely stuck with.
I can see how it's done manually, using the Save As option in Attachment handler.
I hope I explained this ok, but please feel free to ask anything else you need.
FURTHER QUESTION
When I move these files, does the Access Database simply 'link' to them, or does it store an additional copy inside the Access database?
This matters because of disk space, there can be up to 100 images a day at peak times.
Thanks for your patience.
I am putting together a simple database to handle multiple images taken at various stages of car repair (for looking back on later).
5 potential stages (pre-repair, MET, metalwork, paintwork, post-repair), each stage has some pictures taken. These images are important to be easily searched through & are simply attached to a RegNo & JobNo to identify which car repair they refer to.
I have created a simple form, with JobNo, RegNo & 5 Attachment Fields (1 for each stage).
This gets the images attached ok, so I can now see the images & query by RegNo, JobNo, etc.
QUESTION
At the moment, the user has to copy the images taken into directory structure in Windows, handling filenames & directory names manually. this is cumbersome & not really practical.
So, what I'd LIKE to happen is:
1) Pictures are taken as repair occurs (on a tablet, then transferred to PC).
2) Pictures uploaded to the PC into a temp 'dump' directory, with simple link on Windows desktop
3) Office PC user opens Access database & attaches files (images) to correct Job/Reg/Stage. These images are selected from the 'dump' directory using normal 'attachment' button on Access form.
4) On leaving the record (or closing form), the image files are automatically renamed & moved into a specific sub-folder, with the RegNo and JobNo used to create unique directory name.
5) This leaves the 'dump' directory empty, ready for the next batch of images to arrive.
I've got my database working fine, with a form allowing me to attach Image files to each of 5 'stage' fields. So I'm at point 3 above.
It's the automatically renaming the Image files, Moving them into a created sub-directory, that I'm completely stuck with.
I can see how it's done manually, using the Save As option in Attachment handler.
I hope I explained this ok, but please feel free to ask anything else you need.
FURTHER QUESTION
When I move these files, does the Access Database simply 'link' to them, or does it store an additional copy inside the Access database?
This matters because of disk space, there can be up to 100 images a day at peak times.
Thanks for your patience.