Newgrammer
Programmer
Hey all,
I'm at the end of the rope with my problem. I have a form that allows users to upload the path's to image files which are then stored in a table and linked to the corresponding record#. I then have a form I created that shows the upload pictures via an unbound image control. That part works fine, where im stuggling is having my report reference the subform correctly. I actually did have it working a few days ago, and have no clue what code I changed cause it to stop functioning.
Where i'm stuck is getting my subform in the report to change the ImageFrame picture based on the corresponding control text box that's hidden on the form. The code I have now is
.... TextBoxLink being a text control thats source is the ImagePath in my table. When I attempt to open this I get a run-time error 2113 the value you entered isn't valid for this field.
I'm stumped on where to go from here.
I don't see why it can't seem to point to the text control box rather than a field in a table for the source of the images. Perhaps because it is a subform?
I'm at the end of the rope with my problem. I have a form that allows users to upload the path's to image files which are then stored in a table and linked to the corresponding record#. I then have a form I created that shows the upload pictures via an unbound image control. That part works fine, where im stuggling is having my report reference the subform correctly. I actually did have it working a few days ago, and have no clue what code I changed cause it to stop functioning.
Where i'm stuck is getting my subform in the report to change the ImageFrame picture based on the corresponding control text box that's hidden on the form. The code I have now is
Code:
sfrmImageReport![ImageFrame].Properties("Picture") = sfrmImageReport![TextBoxLink]
I'm stumped on where to go from here.
I don't see why it can't seem to point to the text control box rather than a field in a table for the source of the images. Perhaps because it is a subform?