A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

need help badly!



 
 
Thread Tools Display Modes
  #1  
Old May 26th, 2004, 12:03 PM
todd
external usenet poster
 
Posts: n/a
Default need help badly!

I have a database of training for each employee. How can I
attach a photo of each employee to the query that looks
them up by name?
  #2  
Old May 26th, 2004, 08:18 PM
Mike Painter
external usenet poster
 
Posts: n/a
Default need help badly!


"todd" wrote in message
...
I have a database of training for each employee. How can I
attach a photo of each employee to the query that looks
them up by name?


I have a field in my employee table that contains the location of the
picture. "C:\EmployeePIctures\Fred.jpg"

In the on current event for the form I have:

Me![EmployeePicture].Picture = Me![pictureloc]

You can use the Dir function and a little code to go through the folder that
holds the pictures and add just new pictures.
I place the location in both the PictureLoc field and the Employees name
field, then all I have to do is edit the name as needed.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:54 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.