Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 22nd, 2006, 06:46 AM
Friend of Wrox
Points: 912, Level: 11
Points: 912, Level: 11 Points: 912, Level: 11 Points: 912, Level: 11
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2005
Location: Dublin, , Ireland.
Posts: 181
Thanks: 0
Thanked 0 Times in 0 Posts
Default Compressing Picyures

Hi
I have a access database that I have added images .The problem is the database runs very slow when opening etc .Is there anything I can do to compress the images. The images are from word .rtf documents
Thanks

Brendan Bartley
__________________
Brendan Bartley
Reply With Quote
  #2 (permalink)  
Old November 22nd, 2006, 07:49 AM
Friend of Wrox
 
Join Date: Sep 2003
Location: Salisbury, Wiltshire, United Kingdom.
Posts: 155
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to leehambly
Default

Brendan,

I'm no great expert on storing objects in databases, but this is mainly due to the fact that it is not an advisable thing to do, if you can get away with it. I only use images on forms and reports, and then linked rather than embedded if I can.

Can the images be saved as individual documents and then you simply store the file path? This means no bloating issues.

Food for thought, hope it helps...

Lee
Reply With Quote
  #3 (permalink)  
Old November 22nd, 2006, 08:49 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

When you say you "have added images," are they graphics for your forms and reports, or are they data being stored in a table?

If they are graphics, use .jpg or .gif, and try to make them as close to their finished size as possible outside of the database, and then after you are done designing, make sure you compact andrepair the database - that is always a good idea during development anyway and can shrink the database many orders of magnitude during development.

If they are data, leehambly is right, not advisable. Access isn't a good platform for storing images. You might try SQL Express 2005, or SQL Server for image storage. However, using a linked image (which you can still display on your forms) is a better bet, IF all your users can map to the same folder. I use this method but it is somewhat kludgy. Another solution is SharePoint, which is also a SQL Server, but you can link to a web page and mapping is not so much of an issue - just DNS entries...

If you want help with displaying linked images in forms, let me know.

HTH

mmcdonal
Reply With Quote
  #4 (permalink)  
Old November 22nd, 2006, 03:59 PM
Authorized User
 
Join Date: Nov 2006
Location: , , .
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

more of the same...

1)maybe put them in a different database and only open when needed?
2)use to compress database utility tools/db utilities /compact and repair db
3)i know sql server there was a way to convert to binary, dont know if access has that function, will look into it later

cheers
scott
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compressing and expanding files within an app alantodd Pro VB Databases 1 May 8th, 2006 04:12 PM



All times are GMT -4. The time now is 09:17 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.