Thanks
Eric
I would probably have both a Success and a Fail image on top of each
other, and set the Visible property based on the situation.
Depending on your exact situation this code may be in the Form_Current
event:
SetPassFail
And then have a private procedure:
private sub SetPassFail()
if Me.myCheckbox1 = True and Me.myCheckbox2 = True ...etc. Then
Me.myPassPicture.Visible = True
Me.myFailPicture.Visible = False
else
Me.myPassPicture.Visible = false
Me.myFailPicture.Visible = true
end if
end sub
-Tom.
Microsoft Access MVP
Do you mean just to stack two image windows right on top of each other and
then how do you set it to be visible based on the situation?
I also need a little more detail on setting up and writing the code. I am
learning but I have along way top go.
Do you write the if statement using "Checkbox1" or do you replace it with
the field name?
Here are the field names for the check boxes
[IS - 100], [IS - 200], [ICS - 300], [ICS - 400], [IS - 700], [IS - 800],
[Rep 101], and [E - Team]
Thanks for the help
Eric
"Tom van Stiphout" wrote:
> .
>
Yes, I mean place two image controls right on top of each other.
Then, as I wrote, where you set the visibility depends on your exact
situation, but it would likely be the Form_Current event. So get
properties for your form, click the events tab, and the ... button
next to the Current event. Place my one-liner in the event. Paste my
subroutine elsewhere in the code window.
-Tom.
Microsoft Access MVP