Hello
I have a database that contains a table with an attachment field in it. The intent is to save pictures of objects in the database. I have a form that I use to add records to that table. There is an attachment control in the form in order to do that. I like very much the functionality of the control (browser that pops up to add a file, immediate display of picture, etc.). This control has a property "picture type", that can take three distinct values: "Embedded","Lin ked" and "Shared". From what I understand the "Embedded" option is to be avoided since it would add to the database, the size of the jpeg file (which it does). From what I read (and I couldn't find any concrete info on the options or the attachment datatype handling), linking the pictures should do the trick and just attach a file by saving the path, instead of saving the bitmap. However, it does exactly what "Embedded" does. It increases the size of the database by the filesize of the jpeg. What's more, "Shared" doesn't seem to have any effect either. All three options do exactly the same and that is to increase the database size by the filesize of my picture. Am I doing something wrong here?
I would like to avoid the "workaround " method that I have been reading about (with a text field that saves the path, and VB code to manipulate the picture display).
I am using Access 2010
Thanks in advance
George
I have a database that contains a table with an attachment field in it. The intent is to save pictures of objects in the database. I have a form that I use to add records to that table. There is an attachment control in the form in order to do that. I like very much the functionality of the control (browser that pops up to add a file, immediate display of picture, etc.). This control has a property "picture type", that can take three distinct values: "Embedded","Lin ked" and "Shared". From what I understand the "Embedded" option is to be avoided since it would add to the database, the size of the jpeg file (which it does). From what I read (and I couldn't find any concrete info on the options or the attachment datatype handling), linking the pictures should do the trick and just attach a file by saving the path, instead of saving the bitmap. However, it does exactly what "Embedded" does. It increases the size of the database by the filesize of the jpeg. What's more, "Shared" doesn't seem to have any effect either. All three options do exactly the same and that is to increase the database size by the filesize of my picture. Am I doing something wrong here?
I would like to avoid the "workaround " method that I have been reading about (with a text field that saves the path, and VB code to manipulate the picture display).
I am using Access 2010
Thanks in advance
George
Comment