Berkeleygerrell
New member
- Local time
- Today, 14:16
- Joined
- Apr 14, 2020
- Messages
- 12
Hi All,
I am struggling to get an image to show based on the value of a check box, im trying to get the image of the approved stamp / Declined stamp to show based on the value of the check boxes below the buttons,
Currently the vba code im am using is this
Where commands are the approve/ decline buttons
Check325 and 328 are the check boxes below
and image 332 is the image of the approve stamp
Any help would be greatly appreciated
Private Sub Command309_Click()
Me.Check325 = True
Me.Check328 = False
End Sub
Private Sub Command310_Click()
Me.Check325 = False
Me.Check328 = True
End Sub
Private Sub Form_Current()
If Me.Check325.Value = True Then
Me.Image332.Visible = True
If Me.Check325.Value = False Then
Me.Image332.Visible = False
End If
End If
End Sub
Private Sub Check325_AfterUpdate()
If Me.Check325.Value = True Then
Me.Image332.Visible = True
If Me.Check325.Value = False Then
Me.Image332.Visible = False
End If
End If
End Sub
I am struggling to get an image to show based on the value of a check box, im trying to get the image of the approved stamp / Declined stamp to show based on the value of the check boxes below the buttons,
Currently the vba code im am using is this
Where commands are the approve/ decline buttons
Check325 and 328 are the check boxes below
and image 332 is the image of the approve stamp
Any help would be greatly appreciated
Private Sub Command309_Click()
Me.Check325 = True
Me.Check328 = False
End Sub
Private Sub Command310_Click()
Me.Check325 = False
Me.Check328 = True
End Sub
Private Sub Form_Current()
If Me.Check325.Value = True Then
Me.Image332.Visible = True
If Me.Check325.Value = False Then
Me.Image332.Visible = False
End If
End If
End Sub
Private Sub Check325_AfterUpdate()
If Me.Check325.Value = True Then
Me.Image332.Visible = True
If Me.Check325.Value = False Then
Me.Image332.Visible = False
End If
End If
End Sub