Solved

adding multiple pictures to access forms

Posted on 2016-08-08
7
28 Views
Last Modified: 2016-08-29
I have an access database with a form for recording samples I take in the field, while in the field I take photos of the samples, I take anywhere from 2 to up-to 12 photos, it varies per sample. I would like to when I bring up the form have the pictures show up as well, I have over 90 samples and or data points with corresponding photos totaling over 350+ so embedding as on OLE is out of the question.  I added all the links or folder and name paths to each record in the database an starting trying to use image controls to link the paths but often only one or two pics would show up, never any more than 3. So What I want to do is some how get the photos to show up in the form and then if I click on a photo it opens up the original photo.
0
Comment
Question by:Member_2_7970851
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 168 total points (awarded by participants)
ID: 41748208
When it comes to images in Access, you can do it the easy way or the hard way.

The easy way:
http://www.ammara.com   (DbPix)

The hard way:
Any other way.

I've used DbPix many times over the years and it's a stellar product.
0
 
LVL 57

Assisted Solution

by:Jim Dettman (Microsoft MVP/ EE MVE)
Jim Dettman (Microsoft MVP/ EE MVE) earned 166 total points (awarded by participants)
ID: 41748492
<<starting trying to use image controls to link the paths but often only one or two pics would show up, never any more than 3. >>

 What happened there?   This is basically the only way to do it with Access with what is built into the product.

 Sounds like thumbnails would be a better way to go, then show the full picture when clicked.   But that implies image manipulation beyond what Access offers.

Something like DBPix as Joe recommended is going to be a given.  I'm wondering if Access is even the right product to do this with.

Yes, you can use images in Access, but if that the focus of the app, then you might be better off with a .Net based app.

Jim.
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 166 total points (awarded by participants)
ID: 41749440
Member_2_7970851,

Even with linked images, (depending on your environment) displaying 350+ images in 90 records may be pushing the limits of what Access can do.
Remember, Access must "render" each image, so if your images are large, ...Access may run out of gas.
(this is more pronounced in reports (IIRC)

Give what Joe and Jim stated a try first.

You did not posts the specifics of your table(s) design, ...so I will presume that you may be storing the image paths in multiple fields, for the same sample (record), ...(Image1, Image2, Image3, ...ect.)
If so, then you might want to consider trying a "One To Many" relationship between the Samples and Images.
For example:
tblSamples
sID (PK)
sName
sValue
...ect

tblSampleImages
siID (PK
sID (FK)
siPath

...In this way you can have 1 sample and many images. (and save all the overhead associated with having multiple, repeating fields)
Then use a main form and a subform (in continuous view) to display the Samples and (multiple) images
Might look something like this:
One To Many
Perhaps not ideal, ...put you could give it a shot to see if it performs better than your current setup.

JeffCoachman
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:Member_2_7970851
ID: 41749493
Okay Gang,

thank you for the comments, i am going to take a look and the product that Joe suggested, and you all are right it might be too much for access to deal with but I wanted to see if there is an elegant solution, I will let you know what I find after I try the software out. I do believe in not reinventing the wheel.

Cheers Brian
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 41750413
OK,...keep us posted
0
 

Author Comment

by:Member_2_7970851
ID: 41769578
I looked into the Dbpix, and I do believe it would work, I do not think it is a straight forward as it is played out to be I have been in contact with their support group, which has only been midly helpful, basically I was left with the feeling that it was not worth all the effort, for a couple of picture maybe but to really be useful for a larger data set of pictures it seems awkward. It was not very clear how to do batch uploads of multiple pictures. I will look at it again when I have more time but for now that seems to be the best solution. Thank you for all your time.

Brian
0
 
LVL 75
ID: 41774464
System suggested closing this Q.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now