PDA

View Full Version : Automatically Update Access Field



b1_better
10-09-2010, 02:04 PM
I am creating a personnel database in Access. I want to link employee photos to my form. The pics are located on my network drive.

In my mdb I have a text field named Empl_Photo for the photo path. On my form I have a Bound Object Frame and the control source is Empl_Photo.

1 - I have the code to browse folders to locate the photo, I just don't know how to take that info and automatically update my Empl-Photo field with the path information.

2 - After the field is updated, I want to be able to use a Command button to make the photo appear in my frame so I can make sure it's the correct employee.

Is this possible? I'm a novice...so use small words. :wot Thanks!

HiTechCoach
10-10-2010, 06:42 PM
Welcome!

I would like to suggest you take a look at these examples:

Document Links 2 (http://www.hitechcoach.com/index.php?option=com_docman&task=doc_details&gid=14&Itemid=28)

Picture in Database (http://www.hitechcoach.com/index.php?option=com_docman&task=doc_details&gid=43&Itemid=28)

b1_better
10-12-2010, 06:25 PM
Thanks you for your help!

HiTechCoach
10-12-2010, 06:27 PM
Thanks you for your help!

You're welcome!

Glad we could assist.