Solved

adding multiple pictures to access forms

Posted on 2016-08-08
7
94 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:Brian Cellura
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) 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 58

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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:Brian Cellura
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:Brian Cellura
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
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…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

707 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