954,559 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

image control from form to data report's image control

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.

arvin2006
Junior Poster in Training
69 posts since Sep 2006
Reputation Points: 15
Solved Threads: 4
 

try with "Set"

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

koolsid
Light Poster
35 posts since Feb 2005
Reputation Points: 11
Solved Threads: 6
 

thank you.. it worked!
God bless (",)..

arvin2006
Junior Poster in Training
69 posts since Sep 2006
Reputation Points: 15
Solved Threads: 4
 
thank you.. it worked! God bless (",)..

You are welcome :)

koolsid
Light Poster
35 posts since Feb 2005
Reputation Points: 11
Solved Threads: 6
 

how to display each student details with photo in vb6 data report

shenba.akila
Newbie Poster
1 post since Mar 2010
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You