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  

Update an Image on a Form



 
 
Thread Tools Display Modes
  #1  
Old May 11th, 2005, 03:11 PM
Jim Bunton
external usenet poster
 
Posts: n/a
Default Update an Image on a Form

Form has a bound object frame
I can paste a .jpg image into it BUT

I want to use the returned path - ReturnedFilePath - from a Browse Dialogue
to update the picture displayed.


******** Tried but doesn't work - code snip *********

'OLEBound98 is the control name
' controlsource: prPhoto (Table Field)
' displayType: content
' UpdateOptions: Automatic
' OLEType: Embedded

Me.OLEBound98 = ReturnedFilePath
' also tried
'Me.OLEBound98.SourceDoc = ReturnedFilePath
******** END Tried but doesn't work *********


--
Jim Bunton


  #2  
Old May 12th, 2005, 06:17 AM
Allen Browne
external usenet poster
 
Posts: n/a
Default

These articles should get you started on the best approach to handling
images in Access:
http://www.mvps.org/access/forms/frm0030.htm
http://www.mvps.org/access/forms/frm0044.htm
http://www.mvps.org/access/bugs/bugs0044.htm
http://www.mvps.org/access/api/api0038.htm

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Jim Bunton" wrote in message
news
Form has a bound object frame
I can paste a .jpg image into it BUT

I want to use the returned path - ReturnedFilePath - from a Browse
Dialogue
to update the picture displayed.


******** Tried but doesn't work - code snip *********

'OLEBound98 is the control name
' controlsource: prPhoto (Table Field)
' displayType: content
' UpdateOptions: Automatic
' OLEType: Embedded

Me.OLEBound98 = ReturnedFilePath
' also tried
'Me.OLEBound98.SourceDoc = ReturnedFilePath
******** END Tried but doesn't work *********



 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
strategy for data entry in multiple tables LAF Using Forms 18 April 25th, 2005 04:04 AM
update queries and forms Mary Pode Database Design 16 February 2nd, 2005 05:25 PM
Text Form Field Ref in Footer Won't Update on Screen StarWine General Discussion 3 December 6th, 2004 06:17 PM
Strange stLinkCriteria behaviour on command button Anthony Dowd Using Forms 3 August 21st, 2004 03:01 AM
dlookup miaplacidus Using Forms 9 August 5th, 2004 09:16 PM


All times are GMT +1. The time now is 02:55 PM.


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