Go Back   Access World Forums > Microsoft Access Discussion > Forms

 
Reply
 
Thread Tools Rating: Thread Rating: 7 votes, 5.00 average. Display Modes
Old 05-29-2012, 11:35 PM   #1
shishir
Newly Registered User
 
Join Date: May 2012
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
shishir is on a distinguished road
How to upload images in a form

Hello,
I've an employee information table and its form. Every record contains different images.

I've found that people are suggesting to store images on hard drive, not on the database directly. They suggest to store the image link in a text field. I'm agree with them.

But what I didn't find is how end user will upload a new image? Or, remove an existing one?
I want 2 command buttons right below those images that will enable end user to add/remove an image from form of that employee/new employee. When someone will click on the add image, a browser window will appear and he'she will be able to select the image. Access will save it's link itself. While deleting, access will delete its link too and display no photo image.

I've programming experience in C++(but not in VB).
How can I do that?

shishir is offline   Reply With Quote
Old 05-30-2012, 08:53 AM   #2
spikepl
Eledittingent Beliped
 
spikepl's Avatar
 
Join Date: Nov 2010
Location: San Serriffe
Posts: 6,144
Thanks: 77
Thanked 980 Times in 958 Posts
spikepl is a jewel in the rough spikepl is a jewel in the rough spikepl is a jewel in the rough
Re: How to upload images in a form

Google msoFileDialogFilePicker to find the file dialog thing to pick a file. The returned file name you can put into a field of a record and use that to get at the location of a picture. Or clear the field for no picture.
spikepl is offline   Reply With Quote
The Following User Says Thank You to spikepl For This Useful Post:
shishir (05-30-2012)
Old 05-30-2012, 09:33 AM   #3
brharrii
Newly Registered User
 
Join Date: May 2012
Location: Seattle, WA
Posts: 272
Thanks: 159
Thanked 2 Times in 2 Posts
brharrii is on a distinguished road
Re: How to upload images in a form

Sorry, I missunderstood the question



I don't have an answer for what you are looking for.

brharrii is offline   Reply With Quote
Old 05-30-2012, 03:46 PM   #4
shishir
Newly Registered User
 
Join Date: May 2012
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
shishir is on a distinguished road
Re: How to upload images in a form

Quote:
Originally Posted by spikepl View Post
Google msoFileDialogFilePicker to find the file dialog thing to pick a file. The returned file name you can put into a field of a record and use that to get at the location of a picture. Or clear the field for no picture.
I've no programming experience in VB. Can you tell me how to get the job done?
Or any complete resource?
shishir is offline   Reply With Quote
Old 07-04-2012, 04:19 AM   #5
Max D
Newly Registered User
 
Max D's Avatar
 
Join Date: Jul 2009
Posts: 91
Thanks: 0
Thanked 2 Times in 2 Posts
Max D is an unknown quantity at this point
Re: How to upload images in a form

This is the common problem while storing images externally. No simple way to upload and manipulate them without intensive programming.

Check our AccessImagine addon, that makes all the work automatically and is users friendly - http://access.bukrek.net/

__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
(automates all picture tasks) dev team member


"Be aware of WordPress, it provokes to write bloggy-style..." (c) Gunna
Max D is offline   Reply With Quote
Reply

Tags
image , image gallery , uploading image

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to be able to insert images into form. Images to be saved on drive. moto485 General 8 06-02-2012 01:39 AM
How to upload images and display them inline in your post boblarson Access FAQs 1 12-10-2009 01:16 PM
Photo upload in form ABDN Student Forms 2 07-29-2008 12:40 AM
[SOLVED] How to create a form w/ upload and auto-fill Maven4Champ23 Forms 2 06-17-2004 12:29 PM
upload button on form Purdue22 Forms 1 06-07-2001 08:13 AM




All times are GMT -8. The time now is 05:08 PM.


Microsoft Access Help
General
Tables
Queries
Forms
Reports
Macros
Modules & VBA
Theory & Practice
Access FAQs
Code Repository
Sample Databases
Video Tutorials

Featured Forum post


Sponsored Links


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(c) copyright 2017 Access World