Hi all
I have a form that has two images on. They are set to visible=no.
I want them to be visible if a check box is ticked for each:
If Me.Vegetarian = True Then
Me.ImgVeg.Visible = True
Else
Me.ImgVeg.Visible = False
If Me.ContainsNuts = True Then
Me.ImgNuts.Visible = True
Else
Me.ImgNuts.Visible = False
End If
Firstly, is this code correct and secondly where do i put if (i already have code in the forms on current event, how do i add this?
thanks
I have a form that has two images on. They are set to visible=no.
I want them to be visible if a check box is ticked for each:
If Me.Vegetarian = True Then
Me.ImgVeg.Visible = True
Else
Me.ImgVeg.Visible = False
If Me.ContainsNuts = True Then
Me.ImgNuts.Visible = True
Else
Me.ImgNuts.Visible = False
End If
Firstly, is this code correct and secondly where do i put if (i already have code in the forms on current event, how do i add this?
thanks