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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Putting Photo on a form



 
 
Thread Tools Display Modes
  #1  
Old May 28th, 2010, 05:01 PM posted to microsoft.public.access
Texas ReEntry Services[_2_]
external usenet poster
 
Posts: 2
Default Putting Photo on a form

I am doing a client tracking db and want to include a phot on the form how
does one go about this?
  #2  
Old May 28th, 2010, 05:47 PM posted to microsoft.public.access
John B. Smotherman
external usenet poster
 
Posts: 55
Default Putting Photo on a form

I figure you will probably have lots of images? One for each client? To keep
your database small, use a text field in the client table that contains the
fully qualified path to the image (complete path and filename). On the form,
create both a text field with the control source equal to the field in your
table, and an image box, but do not give the image box a control source. In
the Form_Current function in the VBA code for the form, assuming the image
text field is called ImageFileName, include the following code:

Image.Picture = Me!ImageFileName

The image will change to the one listed in the ImageFileName field for each
record.

"Texas ReEntry Services" wrote:

I am doing a client tracking db and want to include a phot on the form how
does one go about this?

 




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:43 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.