lbenjaminl
New member
- Local time
- Today, 12:07
- Joined
- Sep 28, 2022
- Messages
- 8
I have a Access 2016 DB. I am working on a Form that has a master/child relationship. This works perfectly. The subform works perfectly and loads the filtered rows as designed. The problem that I am tring to solve is that I have 9 Yes/No (-1/0) ControlSource fields. I am trying to relate each of those fields to a icon. When the value is True, I want the imgGreenCheck to display. When the value is False, I want the imgOrangeCheck to display. I have hidden both the Green and Orange check images on the row (invisible) and have seeded the Columns for the 9 Control Sources with their ownGreen images.
I can't seem to get the images to update. I have tried; updating the fields in the OnLoad event, OnCurrent event. I have placed individual txtboxes on the row for each of the control source fields that perform the controlsource calculation (=IIf([MenuDetailPotassium]=-1,[imgPotassium].[Picture]=[imgGreen.[Picture],[imgPotassium].[Picture] = [imgOrange].[Picture]))
I don't know what else to try.
Lynda
I can't seem to get the images to update. I have tried; updating the fields in the OnLoad event, OnCurrent event. I have placed individual txtboxes on the row for each of the control source fields that perform the controlsource calculation (=IIf([MenuDetailPotassium]=-1,[imgPotassium].[Picture]=[imgGreen.[Picture],[imgPotassium].[Picture] = [imgOrange].[Picture]))
I don't know what else to try.
Lynda