Solved

Insert a picture in a form

Posted on 2011-09-14
8
254 Views
Last Modified: 2013-11-28
Hi,

I have a table with +/- 2000 products. I have also in a seperate folder a picture of all these products. In a form with a subform i have several filters to detect one or more product.
Hereafter i can select one product to update in a new form. I would like to have the picture in this form. How do i do that?

Tx
0
Comment
Question by:sonmic
8 Comments
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36537791
This was cross posted in an Oracle Zone.  Is it Oracle related?
0
 
LVL 75
ID: 36537810


You might want to consider this or at least be aware of if you are dealing with images in an Access database ... and I can totally vouch for this program.  
http://www.ammara.com/dbpix/access.html

It does *all* the work for you. Examples show how to add a simple 'control' panel to Load, Save, Zoom In/Out, Size To Fit and much more.  AND ... virtually eliminates BLOAT associated with storing images in an Access MDB. I have 3 clients who sell commercial run-time products that use DBPix.

Note. I have no connection with DBPix ... except I have used it many times ...

mx
0
 

Author Comment

by:sonmic
ID: 36537878
Sorry, I made a mistake. It is MS Access related.

Can i manage pictures in access without an external application?
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 500 total points
ID: 36537907
You can look at these free apps:


http://www.lebans.com/loadjpeggif.htm

And more image related apps on this page:

http://www.lebans.com/Form.htm

mx
0
 
LVL 75
ID: 36538442
There are also examples here (as well as other excellent techniques/examples)

http://www.databasedevelopment.co.uk/examples.htm

Scroll down to

Storing Picture data (Download PictureData.zip)
An example of loading and storing image data using Access internal PictureData format. Another way to avoid bloat and allow east image re-use.

mx

0
 
LVL 1

Expert Comment

by:smartcheater
ID: 36543465
In access form Goto to the "Code Builder"
Draw a picture box on form supposing the name picture1
and select the event of form "Current" event. This event occur every time when move from current record (previous or next).

use that code for picture loading:
picture1.picture=LoadPicture("Picture Path Here")

' For example 

picture1.picture=LoadPicture("c:\windows\webs\wallpaper.azul.jpg")

Open in new window


0
 

Author Closing Comment

by:sonmic
ID: 36579360
It has given me an idee.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

772 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