Setting a default value for an image (1 Viewer)

Chamleon

New member
Local time
Today, 08:09
Joined
Nov 11, 2015
Messages
2
Hi,

I am making a form to display product details and images. Most products have 1-6 images and rather than having multiple image fields remotely linked to the other product views, I have one image field and 6 fields from my table containing the image location. Next to those fields are buttons that when clicked update the image field. My problem occurs when I am changing records/products, which ever image was last clicked still remains in the image field. I would like the image field to always show the image from the first field when changing records/products, yet still have the buttons for fields 1-6 function.

Any help would be much appreciated.
 

Minty

AWF VIP
Local time
Today, 15:09
Joined
Jul 26, 2013
Messages
10,354
You would need to use the On_Current event for the form to set the image back to the 1st one for the selected record.
 

Chamleon

New member
Local time
Today, 08:09
Joined
Nov 11, 2015
Messages
2
Thank you! Can't believe I missed something so simple.
 

Users who are viewing this thread

Top Bottom