R
Rudi Groenewald
Hi experts,
I have first tried embedding images into my sql server database, but after
realising the negative effects, I instead tried linking images. my scenario
for images is this. Images are stored on a shared server ( eg:
\\servername\images\image1.jpg ) My sql database will only have a link for
my image. eg: image field name = "image1" while the field contents will
only be text eg: \\servername\images\image1.jpg .
What I would like access to do is. When my user fills in the form and has
to insert his image, The user clicks on a browse button and selects his
image for the field, the access should copy this image to the shared server,
generate random file name (asuming there already could be an image with the
same filename, just to be safe) for this image, and in the end, only store
in the database the link to this image ( eg:
\\servername\images\image1.jpg ) even without my user knowng what happened.
and of course, then show this image when inserting it into the field.
Please help
Rudi
I have first tried embedding images into my sql server database, but after
realising the negative effects, I instead tried linking images. my scenario
for images is this. Images are stored on a shared server ( eg:
\\servername\images\image1.jpg ) My sql database will only have a link for
my image. eg: image field name = "image1" while the field contents will
only be text eg: \\servername\images\image1.jpg .
What I would like access to do is. When my user fills in the form and has
to insert his image, The user clicks on a browse button and selects his
image for the field, the access should copy this image to the shared server,
generate random file name (asuming there already could be an image with the
same filename, just to be safe) for this image, and in the end, only store
in the database the link to this image ( eg:
\\servername\images\image1.jpg ) even without my user knowng what happened.
and of course, then show this image when inserting it into the field.
Please help
Rudi