Adding a different picture to each record

I am creating an employee database and I want to include a photo of each employee in the record, so that when I bring up an employee record I have the photo.  How can I save the photo in the database and also display it when I bring up the employees record?
LVL 1
egrusAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dataplusCommented:
You can save the employee's photo in the database using the general field. and to display the photo on the form you can use the OLE controls.

egrusAuthor Commented:
I already have the file in the general field and I have the file name in a text field.  When I use the image control on the form and use the picture source => the general field it shows no picture and when I use the picture name field as the source it shows the current photo but never changes when the record next record is brought up?
I need more info to complete this question.
egrusAuthor Commented:
I need more details
Andrew CroftsCommented:
If you have the example TAStrade you will be able to see how the photo is used. In this sample the photo is store ed in a general field. It sounds as if the positioning of the record pointer in your table is the problem. ie EOF you get no picture and when the record pointer is position on the first record you see that picture and then the record pointer is not moving so that you always see the same picture.

Or possibly even simpler, you are not refreshing the display on your form.
HTH

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
FoxPro

From novice to tech pro — start learning today.