image control from form to data report's image control

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Sep 2006
Posts: 65
Reputation: arvin2006 is an unknown quantity at this point 
Solved Threads: 4
arvin2006's Avatar
arvin2006 arvin2006 is offline Offline
Junior Poster in Training

image control from form to data report's image control

 
0
  #1
Mar 23rd, 2009
good day everyone! is there any idea on how to set the picture property of the Data Report's Image Control based on the Form's Image Control?

this code doesn't work:

'Me.Sections("Section2").Controls("imgEmployee").Picture = frmMain.imgPic.Picture


Thank you very much for responses.
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 35
Reputation: koolsid is an unknown quantity at this point 
Solved Threads: 6
koolsid's Avatar
koolsid koolsid is offline Offline
Light Poster

Re: image control from form to data report's image control

 
0
  #2
Mar 23rd, 2009
try with "Set"

Set Me.Sections("Section2").Controls("imgEmployee").Picture = frmMain.imgPic.Picture
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 65
Reputation: arvin2006 is an unknown quantity at this point 
Solved Threads: 4
arvin2006's Avatar
arvin2006 arvin2006 is offline Offline
Junior Poster in Training

Re: image control from form to data report's image control

 
0
  #3
Mar 23rd, 2009
thank you.. it worked!
God bless (",)..
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 35
Reputation: koolsid is an unknown quantity at this point 
Solved Threads: 6
koolsid's Avatar
koolsid koolsid is offline Offline
Light Poster

Re: image control from form to data report's image control

 
0
  #4
Mar 23rd, 2009
Originally Posted by arvin2006 View Post
thank you.. it worked!
God bless (",)..
You are welcome
A good excercise for the Heart is to bend down and help another up...

Please Mark your Thread "Solved", if the query is solved...

==>If a post has helped you then Please Rate it!
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC