Solved

Microsot Access 2010 show imge in form

Posted on 2016-09-21
3
21 Views
Last Modified: 2016-10-10
Can anyone help me out I doing a Stationery database with photos are save in a folder on the C:\ drive.  what I am trying to do when someone pick item number red pen item number is 63987 then the photo will show up in the object frame, the photos are save as the item number as a bmp. can any one help
0
Comment
Question by:Darren Hughes
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
crystal (strive4peace) - Microsoft MVP, Access earned 250 total points (awarded by participants)
ID: 41809228
use an Image control. Access Image Control
Store filename in Access and set ControlSource of the Image to:
="C:\path\" & [ImgFilename]

WHERE
"C:\path\" is the path to the files
ImgFilename is a field in the table with the name of the file, including file extension

 -- alternately, you can construct the filename from your item#
       ="C:\path\" & [ItemNumber_Fieldname] & ".bmp"

Open in new window

1
 
LVL 19

Assisted Solution

by:Eric Sherman
Eric Sherman earned 250 total points (awarded by participants)
ID: 41809418
Also, where do they pick the Item Number from ... is this a listbox or combobox, etc.???

Then you would use the AfterUpdate Event of your control to change the path to your image in the Image Control on your Form Object.

ET
0
 
LVL 19
ID: 41836580
it is 2 weeks without a response from the poster. An answer was given.
0

Featured Post

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.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

895 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

16 Experts available now in Live!

Get 1:1 Help Now