Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / February 2007

Tip: Looking for answers? Try searching our database.

Issue with database size

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pkost - 29 Jan 2007 15:58 GMT
Hello all,

I’m interning on a database project that has become a lot more complicated
than planned.  The goal is to store  photos of the project I’m working for
and be able to use a form to call up all the photopoints over the past 4
years at the different locations. I’m having problems getting around access’s
2 gig limit.  Which I thought I solved by creating lots of separate databases
and linking them together but now  I can’t figure out how to write a query in
which I don’t pull in all the photos or is that even possible.  Is there
anyway I can indirectly reference them and still get the pictures to show up
in the forms?  I’d appreciate any help.  Thanks
Douglas J. Steele - 29 Jan 2007 16:14 GMT
Don't store the photos in the database. Store them as files externally, and
only store the full path to each file in the database.

Access MVP Larry Linson has posted the following in the past:
The sample imaging databases at http://accdevel.tripod.com illustrate three
approaches to handling images in Access, and the download includes an
article discussing considerations in choosing an approach. Two of the
approaches do not use OLE Objects and, thus, avoid the database bloat, and
some other problems, associated with images in OLE Objects.

If you are printing the images in reports, to avoid memory leakage, you
should also see MVP Stephen Lebans' http://www.lebans.com/printfailures.htm.
PrintFailure.zip is an Access97 MDB containing a report that fails during
the Access formatting process prior to being spooled to the Printer Driver.
This MDB also contains code showing how to convert the contents of the Image
control to a Bitmap file prior to printing. This helps alleviate the "Out of
Memory" error that can popup when printing image intensive reports.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

> Hello all,
>
[quoted text clipped - 11 lines]
> up
> in the forms?  I'd appreciate any help.  Thanks
pkost - 29 Jan 2007 16:42 GMT
Thanks alot.  My boss was really hoping to keep the images embedded in access
but it seems like that might not be the best solution.

> Don't store the photos in the database. Store them as files externally, and
> only store the full path to each file in the database.
[quoted text clipped - 29 lines]
> > up
> > in the forms?  I'd appreciate any help.  Thanks
John Vinson - 29 Jan 2007 17:51 GMT
>Thanks alot.  My boss was really hoping to keep the images embedded in access
>but it seems like that might not be the best solution.

If you're planning to upgrade to Access2007 ( which I will confess
that I have NOT done ), I understand that the new release fixes most
of the excessive bloat problems with images.

                 John W. Vinson[MVP]
John Nurick - 30 Jan 2007 06:27 GMT
Embedding is definitely not the best solution because there's a great
deal of overhead involved in packaging the images into OLE objects.

You can avoid some of that by not embedding the images in an OLE field,
but instead storing the *contents* of the image files in the field,
using AppendChunk() and GetChunk() to store and retrieve the data. This
keeps the image data in the mdb file, but makes it more complicated to
do anything with it.

>Thanks alot.  My boss was really hoping to keep the images embedded in access
>but it seems like that might not be the best solution.
[quoted text clipped - 32 lines]
>> > up
>> > in the forms?  I'd appreciate any help.  Thanks

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
Jeff Boyce - 29 Jan 2007 17:39 GMT
A couple alternatives ...

(First, I'm with Douglas, don't store image files in Access... but!)

The newest Access ('07) supposedly does a better job of handling image files
(i.e., less "bloat").

Or, if you can connect to a SQL-Server database, you could store the images
in SQL-Server.  It will take a bit of coding to get them in and out...  I've
used this approach for a "Contracts" database, to help reduce the need for
storing paper documents.

The alternative is to put the image files in a known location
(folder/directory/path), with a known naming convention, then store the
location/path/filename in your database.

Regards

Jeff Boyce
Microsoft Office/Access MVP

> Hello all,
>
[quoted text clipped - 11 lines]
> up
> in the forms?  I'd appreciate any help.  Thanks
jimrockford - 06 Feb 2007 01:24 GMT
this sounds like something i am trying to do.  i am looking to creat a
database with pics but the images will be small jpgs.  maybe 5k each. is
there a template i can use and modify the fields in? i'm very very green in
access, but have lots of books to help me set it up i hope.  i can use all
the help i can get  gary running access2003

> A couple alternatives ...
>
[quoted text clipped - 32 lines]
> > up
> > in the forms?  I'd appreciate any help.  Thanks
Jeff Boyce - 06 Feb 2007 18:19 GMT
Consider looking at the templates Microsoft offers.  Also try Google on the
topic.

Regards

Jeff Boyce
Microsoft Office/Access MVP

> this sounds like something i am trying to do.  i am looking to creat a
> database with pics but the images will be small jpgs.  maybe 5k each. is
[quoted text clipped - 49 lines]
>> > up
>> > in the forms?  I'd appreciate any help.  Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.