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.

try with "Set"

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

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

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

You are welcome :)

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