Date: 2015-09-20 20:53Subject: Re: [MS_AccessPros] How to trim the size of photosHi Kevin,
I would not recommend using attachment fields. Instead, reference an external filename. To keep everything with the database, create an Attachments directory below it and copy the files to there. You can see an example of how to do this in my contact template, which is here:
free Contact Template for Access including Project Management and Common Business Needs
http://msaccessgurus.com/Contacts.htm
Click on the pushpin icon to add an attachment -- then you will see the form that does this
You can get the Size, Dimensions, and other properties of files using Wayne Phillips' free tool here:
http://www.everythingaccess.com/tutorials.asp?ID=Accessing-detailed-file-information-provided-by-the-Operating-System
warm regards,
crystal
~ have an awesome day ~
On 9/19/2015 7:18 PM, 'zhaoliqingoffice@163.com' zhaoliqingoffice@163.com [MS_Access_Professionals] wrote:
All-By the way, if the size can not be trimed, is it possible to show the size in a text box, which works like alart if it is too big?Kevin
Regards,Kevin ZhaoDate: 2015-09-20 07:28Subject: [MS_AccessPros] How to trim the size of photos
Dear All,I have a field "HotelPhoto" as attachment format in "tblHotel"
tblHotelHotelIDHotelNameHotelAddressHotelPhoto
My question is: Is that possible to trim the size of the photo to 10 kb while uploading it to "HotelPhoto"? Thanks in advance.
Regards,Kevin
Posted by: "zhaoliqingoffice@163.com" <zhaoliqingoffice@163.com>
| Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (4) |
Tidak ada komentar:
Posting Komentar