I have an image on my report which I want to set to a file path which is saved in a field in the source table. The field with the stored file path is called Picture1. The Image is called imgPicture1
I tried;
Me!imgPicture1.Picture = Me.Picture1
Me!imgPicture1.Picture = Me!Picture1
Me!imgPicture1.Picture = Picture1
(and several other variations)
None of these worked but I made a text box and set the source value to Picture1 and then used
Me!imgPicture1.Picture = Me.txtTest.Text
and it worked haha, now is there anyway to do this without having to create a text box to get the data from the record and then set the text box to not be visible?
llkhoutx sugguested Forms!YourFormName!YourFormOleObjectControlName
which ended up Forms!DropInletForm!imgPicture1 but that also didnt work.
Thanks for help.