Hello -
i have a table that has an image for each record. I am trying to create a
form to view the data and the image. When I place a bound OLE Object on the
form and set its Control Source property to the field in my table that has
the photo...the image never appears. I can see the other data, like the
name, but never the image.
Is it even possible to display an image that is stored in the Access
database? I have seen articles that explain how to display images that are
stored in the file system, but never from within the database.
thanks for any help
- will
|
|
0
|
|
|
|
Reply
|
Utf
|
5/11/2007 4:43:01 PM |
|
"dw" <dw@discussions.microsoft.com> wrote
> i have a table that has an image for each record.
> I am trying to create a form to view the data and
> the image. When I place a bound OLE Object
> on the form and set its Control Source property
> to the field in my table that has the photo...the
> image never appears. I can see the other data,
> like the name, but never the image.
>
> Is it even possible to display an image that is
> stored in the Access database? I have seen
> articles that explain how to display images that
> are stored in the file system, but never from
> within the database.
There is a Property of the Bound Object Control specifying Thumbnail or
Icon -- be sure it is set to "Thumbnail". But, even so, you are limited
because Access must work with whatever software is registered by the user to
handle the image file type. If the registered software doesn't provide
appropriate capability, Access can't do what you want.
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. Access 2007 has,
I am told, eliminated the bloat problem, but you are still "held hostage" to
whatever software the user has registered for handling the image file type.
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.
Larry Linson
Microsoft Access MVP
|
|
0
|
|
|
|
Reply
|
Larry
|
5/13/2007 4:45:47 AM
|
|
Larry -
Thanks for the reply and information. I'll check out the examples you
mentioned.
In my case, I am the only one person going to be using this database. How
can I tell "whatever software is registered by the user to handle the image
file type" in my case? Is this some sort of special image handling software
or something as simple as MS Paint or something?
- will
"Larry Linson" wrote:
> There is a Property of the Bound Object Control specifying Thumbnail or
> Icon -- be sure it is set to "Thumbnail". But, even so, you are limited
> because Access must work with whatever software is registered by the user to
> handle the image file type. If the registered software doesn't provide
> appropriate capability, Access can't do what you want.
>
> 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. Access 2007 has,
> I am told, eliminated the bloat problem, but you are still "held hostage" to
> whatever software the user has registered for handling the image file type.
>
> 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.
>
> Larry Linson
> Microsoft Access MVP
>
>
>
|
|
0
|
|
|
|
Reply
|
Utf
|
5/13/2007 4:25:00 PM
|
|
|
2 Replies
999 Views
(page loaded in 0.077 seconds)
Similiar Articles: How to display image from database? - microsoft.public.access ...Hello - i have a table that has an image for each record. I am trying to create a form to view the data and the image. When I place a bound OLE Obj... Display image from sql database - microsoft.public.sqlserver ...I have an asp.net page that has an image control (named ImgSignature) inside a Panel. When the panel is visible, I want to get the image from the database varbinary ... How do I display images from a folder in a form : access 2003 ...How to display image from database? - microsoft.public.access ... How do I display images from a folder in a form : access 2003 ... How do I display images from a folder ... Display Image from URL - microsoft.public.access.formscoding ...(Or let Outlook be aware that they are hyper text so as to properly display them?) ... Display Image from URL - microsoft.public.access.formscoding ... My database ... Access 2007: Where does database name display? - microsoft.public ...How to display image from database? - microsoft.public.access ..... the other data, like the name, but never the image. Is it even possible to display an image that is ... Display Multiple Images on a form - microsoft.public.access ...Hi I am a newbie to access and I am trying to save space in my database by using code to display my images from a folder instead of embedding them d... Displaying BLOB data in Access - microsoft.public.access.forms ...Is it even possible to display an image that is stored in the Access database? ... Images from a SQL database for display in an Asp.Net Datagrid Read images (BLOB data ... Display a hyperlink as an image - microsoft.public.access ...I am using Access 2003 on Windows XP. I have created a document storage database with approximately 15 fields per record. One of the fields is a hyp... OLE - Embedding BMP image into my Database Table - microsoft ...I want to embed about 10 different small images into my table, which will them be display on a report. I have read through access's help screens, an... Problem with displaying images in forms - microsoft.public.access ...How to display image from database? - microsoft.public.access ... Access 2007 has, > I am told, eliminated the bloat problem, but you are ... Check this link on "Handle ... Display Images from Database in ASP - CodeProjectThis article describes how to display images which are stored in database in either SQL Server or MS Access.; Author: Om Prakash Pant; Updated: 31 May 2004; Section ... Display an image stored in a database (PHP) - Adobe CookbooksIf you display an image directly from a database, your web page is filled with garbage instead of a beautiful photo. Display Images In GridView From DataBase Asp.NetShow Display Images In GridView From Sql Server DataBase In Asp.Net 2.0,3.5,4.0 C# VB.NET How To Display an Image from a Database in a Windows Forms ...This step-by-step article describes how to display an image that is stored in a database in a PictureBox control on a Windows Form. In Microsoft Visual ... Retrieve Images from a SQL database for display in an Asp.Net DatagridRead images (BLOB data) from a SQL database and display it in an ASP.Net page 7/20/2012 8:02:58 AM
|