mtagliaferri
Registered User.
- Local time
- Today, 15:48
- Joined
- Jul 16, 2006
- Messages
- 546
I have a form with a text box SwapCheck if the value of this text box is grater than 0 I need an image IcoSwap to be visibile, I am trying to place the code in the control source of IcoSwap put struggling with the code to be placed.
I have another icon which becomes visibile with the below code in the Form Load, Is it possible to add a further If statement when SwapCheck value is greater than 0 to the code or is it better in the control source of the icon?
I have another icon which becomes visibile with the below code in the Form Load, Is it possible to add a further If statement when SwapCheck value is greater than 0 to the code or is it better in the control source of the icon?
Code:
Private Sub Form_Load()
If IsNull(Me.DutyNotes) Then
Me.IcoNotes.Visible = False
Else
Me.IcoNotes.Visible = True
End If
End Sub