473,586 Members | 2,681 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Pictures in Access 97 and 2000

I have a 97 database and want to embed (not link) a picture on a form
and report

The picture is just a scan of a signature, I am storing it in a table as
an OLE object, then on a form I copy and paste this 17KB JPG into the
database.

The problem is that Access then shows it as a Icon and not as a picture.

I have set the forms properties:
Size Mode = Zoom
Display Type = Content
Update Options = Auto
OLE Type = Either

Regards
Sep 16 '06 #1
5 3504
Ntl News Group wrote:
I have a 97 database and want to embed (not link) a picture on a form
and report

The picture is just a scan of a signature, I am storing it in a table
as an OLE object, then on a form I copy and paste this 17KB JPG into
the database.

The problem is that Access then shows it as a Icon and not as a
picture.
I have set the forms properties:
Size Mode = Zoom
Display Type = Content
Update Options = Auto
OLE Type = Either

Regards
Do you need to store lots of them or just one? You can embed an image without
storing it in an OLE field. Just paste it into design view.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Sep 17 '06 #2
Ntl News Group wrote:
I have a 97 database and want to embed (not link) a picture on a form
and report

The picture is just a scan of a signature, I am storing it in a table as
an OLE object, then on a form I copy and paste this 17KB JPG into the
database.

The problem is that Access then shows it as a Icon and not as a picture.

I have set the forms properties:
Size Mode = Zoom
Display Type = Content
Update Options = Auto
OLE Type = Either

Regards
I need to store everal of them not just one and need the user to be able
to change them without going into design view.
Sep 17 '06 #3
"Ntl News Group" wrote
I have a 97 database and want to embed
(not link) a picture on a form and report

The picture is just a scan of a signature, I
am storing it in a table as an OLE object,
then on a form I copy and paste this 17KB
JPG into the database.
I don't understand what you mean by "then on a form I copy and paste this
17KB JPG into the database" -- if the picture is stored as an OLE object, it
is already "in the database." If you'd be a little more specific about what
you are doing with it, someone might be better able to help. Do you have a
Bound OLE frame on the Form into which you are trying to paste the image? If
you are using a Bound Object Frame, have you bound it to the image? Are you
trying to paste the image into the Picture property of the Form itself?
The problem is that Access then shows it
as a Icon and not as a picture.

I have set the forms properties:
Size Mode = Zoom
Display Type = Content
Update Options = Auto
OLE Type = Either
If you are using a Bound Object Frame, is the Display Type property of the
Frame set to "Content"? If it is set to "Icon," you can expect to see an
icon.

On the other hand, whenever you use an OLE Object and Bound Object Frame,
you "put yourself at the mercy" of whatever COM-compliant software is
registered by the user to handle that type of image.

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.zi p 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
Sep 18 '06 #4

Dear Larry,
I have a similar problem and have read eveything I could find...I have
a 2002 database with an OLE object which is a field in a table of the
database, then I have a bound frame on a report...on my computer the
picture shows up just like I want, but on another computer I just get
an icon....I had given up finding an answer until I saw your message
this morning and you are mention COM...if you have the time and
patience to point me in the right direction I would really appreciate
it.
Thanks,
Debbie

Sep 18 '06 #5
COM (Component Object Model) is an inter-program communication protocol used
to allow separate applications to work together. In the "file types" tab of
Folder Options, you'll find programs registered to handle different file
types... there will be one, most likely, for .jpg. The capabilities and
settings of that program will affect what you see when you use OLE (Object
Linking and Embedding) Objects for your images. And, it is difficult, if not
impossible, to predict what the interaction between that registered imaging
software and Access OLE Objects / Bound Object Frames is going to be.

Working with images in OLE Objects and Bound Object Frames is such an "iffy"
thing that many of us (myself included), avoid that approach when we can.
And that is one reason I prepared the examples you can obtain from the link
I provided.

Larry Linson
Microsoft Access MVP

"debbie" <de****@seaport net.comwrote in message
news:11******** *************@e 3g2000cwe.googl egroups.com...
>
Dear Larry,
I have a similar problem and have read eveything I could find...I have
a 2002 database with an OLE object which is a field in a table of the
database, then I have a bound frame on a report...on my computer the
picture shows up just like I want, but on another computer I just get
an icon....I had given up finding an answer until I saw your message
this morning and you are mention COM...if you have the time and
patience to point me in the right direction I would really appreciate
it.
Thanks,
Debbie

Sep 18 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
9040
by: Alain. | last post by:
Good evenig to all, I use Access 2000 and i want to build a database for my photographs (jpeg files). All the 3 methods I saw make the base grow up. Is it a activeX control which could display the picture without importing it in the base ? and where could I find it. Thank you Alan
2
17721
by: Charles Robinson III | last post by:
How do I make Access display pictures within a form view as linked objects, so that the pictures which I am linking to are displayed within the database? I have a seperate folder for pictures to be placed in, and I have two pictures per record.
4
7249
by: Dale Ring | last post by:
Access 2000 I am trying to print a report that only some of the records have pictures. When the report prints, I do not want a blank image control showing on the report. This project is a test bank of questions allowing the user to create an exam by choosing the questions. Some of the questions have pictures for reference and some don't....
3
2672
by: Pedro Maria Ferro da Cunha | last post by:
I spend a lot of time making 2 thousand pictures and saving them as an article name. jpg. I have a table with the article name and name of the file in jpg (format). How can I make an instant attach to the database instead of adding picture
1
3024
by: Majstor | last post by:
Does anybody know how to export Report in Word, Excel or HTML with pictures (Access 2000)? I don't use snapshot format.
12
20883
by: Wadim Grasza | last post by:
I want to store and display (on a form or a report) multiple pictures per record in an access database. The pictures are not stored within the database. They are stored as files and the database contains the paths to the pictures. The database consists of two tables: TABLE DATA ID Name LastName
9
2347
by: Talal Itani | last post by:
Hello, This is the first time I use a database program. I am trying to build a product database. Each product will have an ID number, a description, and a photograph. I need the table to display the photographs of the items, so that I can visually spot the item that I am looking for. Please let me know if it is possible to have pictures...
2
10152
by: walt | last post by:
Just converted from Office 2000 to Office 2007, after ran into to a few problems (lack of understand being the bigs problem) but the one I can't overcome is, in access 2000 forms I could display pictures, after the conversion my original pictures show in the converted form but no new pictures display. I tried " insert object " using jpg and bmp...
4
7245
by: Zeljko Bilandzija | last post by:
Hy, could someone help me in this: In design mode, i want to put pictures in database. I made column named pics, and its type as image. How can I put pictures or some address of these pictures in that column, or i maybe need to put pictures in Add_Data folder and make reference from there, or what I need to do? could someone explain me...
0
7912
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8338
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8216
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3837
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
1180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.