how to show a picture in a form

G

ghost

Hi,
I have a database for employees. In the data, I have a form to display an
employee. I need to show the employee pic when the “Display employee formâ€
opened. The database has a table called “employee table†for storing employee
information. How can I do that?
Your help is highly appreciated.
Thx.
 
W

Wayne-I-M

Hi

There are a number of ways to do this but probably the best would be to
place the photos of each employee in an external file (not in the database)
and then link a field in the emplyee's table to this external file.

In the employee's table create a new field called EmpPic
In the field you would have the path to the photo
Something like
C:\My Documents\My Pictures\Employees\01.bmp
C:\My Documents\My Pictures\Employees\02.bmp
C:\My Documents\My Pictures\Employees\03.bmp
C:\My Documents\My Pictures\Employees\04.bmp
Etc Etc

Insert this field into your form to and link the picture

There is a very simple module and help on this link

http://support.microsoft.com/kb/285820/en-us

Have a look and follow the instrcutions and should be ok

Hope this helps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top