Looking for ms access VAB code "after update" in the form, to compress or to reduce the size of the attached files in the "attachments" column in the table. attached files such PDF, JPG, pictures...
Thank you
Thanks mate for the above answer,
I am storing pictures in a column, also storing PDF files in another column
I would write a code to compress the attached file using external "command line tool" maybe or any simple way,
the thing took me long time with no positive result
Looking for ms access VAB code "after update" in the form, to compress or to reduce the size of the attached files in the "attachments" column in the table. attached files such PDF, JPG, pictures...
Thank you
As already mentioned, this is very possible, but the better approach is to not store the attachments inside the database at all. How many files are we talking about? Also, if you do this, you may need a new approach to avoid doing it again in the future, right?
Don't expect much from this.
Most image file formats are already very compressed and any further compression, e.g. ZIP, will only reduce the size by less than 5% if at all.
PDFs either contain text + markup only and are already quite small, or they contain embedded images and the above will also apply to them.