?
Solved

Storing tiff images

Posted on 2003-03-05
4
Medium Priority
?
315 Views
Last Modified: 2012-08-14
How can I get to store tiff images in a field of my database.
0
Comment
Question by:prosperkach
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Expert Comment

by:monahansolo
ID: 8071741
Hi Prosperkach,

You want to use an "OLE Object" data type for a field in your table. So if you go into design mode within the table and add a field (or edit an existing field) and choose the "OLE Object" as the data type you will actually be able to store the tif image within the database.

I hope that this helps.

Dave
0
 
LVL 41

Accepted Solution

by:
shanesuebsahakarn earned 300 total points
ID: 8071774
I do not recommend storing images directly in a database. It will cause your database to expand in size dramatically. You are best off storing the image's file path in a text field. When you need to display it, you can use a linked Image control and set its .Picture property to the file path.
0
 

Expert Comment

by:monahansolo
ID: 8071956
I would agree. If you are storing a lot of images the OLE object won't work well for you. However, if it is only a few images then you're fine. Essentially, look at the file sizes of the images you are storing and multiply it by the number of images you are envisioning for the entire database and you have a sense of how big your database will become.

If it is going to be too big then I like shanesuebsahakarn's idea.

Dave
0
 

Author Comment

by:prosperkach
ID: 8077942
Thanks a lot,

Your advise has really done wonders.

thanks again
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question