Make image popup in a new form

Mindshadow

Registered User.
Local time
Today, 06:20
Joined
Sep 11, 2016
Messages
10
(Solved)Make image popup in a new form

Hi I have created a form that along with other data shows two jpeg images relevant to that record and if the next record is selected the images change. The images are not stored in the DB but stored as a file path as recommended by all.

I need to expand the images if clicked.

I have created a popup form that is loaded when the image is clicked but cannot for the life of me get it to show the image I clicked on.

any advise or pointers would be greatly appreciated
 
Last edited:
How are you passing the image path to the popup form?
 
Hi moke123 and thank you for replying

I have every way I can think of except obviously the right one.
I have tried creating a new image box on the popup form and in record source referring to image box in the original form. I have tried making a macro but every time I get a blank box. I must be missing something obvious

Rob
 
you could pass the full path of the image file in the openargs argument and then set the control source of the image frame of the popup to =OpenArgs.
without knowing your setup its difficult to be specific.

see attached example
 
Last edited:
Hi Moke123

That is exactly what I require. Thank you. I have my files stored in a table similar to yours except all my fields are in a single table and the form that is displayed with the smaller image does not show the file names as it is a read only type form however I think I can now work out form your example how to go forwards.

Thanks for taking the time to help. Immensely appreciated

Rob
 
your welcome and good luck with your project
 

Users who are viewing this thread

Back
Top Bottom