Overview: Students progress through a course of study broken into levels. When a level is complete, the user record is updated, indicating level completion via a Y/N field.
On a report I want to graphically indicate level completion with an .jpg icon in an image control. (This is located in a Group Header if that's relevant.)
When things didn’t go to plan and to assist in troubleshooting, I placed a checkbox control for the field next to the image control to be sure the data is being reported. (It is.)
I’ve tried using both the underlying field and the checkbox in a conditional to make the icon visible with no joy.
Field name = Lvl1
Checkbox = Lvl1Chk
Image = Lvl1Img
Syntax I’ve tried
Lvl1Img = Lvl1Ck (or using the underlying field [Lvl1])
Lvl1Img.Visible = Lvl1Ck ( “ )
Me!Lvl1Img.Visible = Me!Lvl1Ck ( “ )
I’ve placed code in
Report_Current()
GroupHeader1_Current() (GroupHeader1 is where the image control & CkBx reside)
GroupHeader1_Format()
And, based on some recommendations found elsewhere, I also placed code in
Lvl1Ck_AfterUpdate()
Me!Lvl1Img.Visible = Me!Lvl1Ck
None of this has worked. TIA for your assistance
DimWit as Flummoxed
On a report I want to graphically indicate level completion with an .jpg icon in an image control. (This is located in a Group Header if that's relevant.)
When things didn’t go to plan and to assist in troubleshooting, I placed a checkbox control for the field next to the image control to be sure the data is being reported. (It is.)
I’ve tried using both the underlying field and the checkbox in a conditional to make the icon visible with no joy.
Field name = Lvl1
Checkbox = Lvl1Chk
Image = Lvl1Img
Syntax I’ve tried
Lvl1Img = Lvl1Ck (or using the underlying field [Lvl1])
Lvl1Img.Visible = Lvl1Ck ( “ )
Me!Lvl1Img.Visible = Me!Lvl1Ck ( “ )
I’ve placed code in
Report_Current()
GroupHeader1_Current() (GroupHeader1 is where the image control & CkBx reside)
GroupHeader1_Format()
And, based on some recommendations found elsewhere, I also placed code in
Lvl1Ck_AfterUpdate()
Me!Lvl1Img.Visible = Me!Lvl1Ck
None of this has worked. TIA for your assistance
DimWit as Flummoxed