Hi
Trying to complete what I though would be a relatively simple task.
Got a form with two text boxes containing values - TotActivity and TotTime.
One the same form I've a Button called PrintRecord which I only want to display if both Text boxes are equal.
Currently I've entered
Private Sub Form_Current()
If Me.TotActivity = Me.TotTime Then
Me.BTN_PrintRecord.Visible = True
Else
Me.BTN_PrintRecord.Visible = False
End If
End Sub
Tried it with the .Value suffix also but to no avail. Any clues?
All help greatly appreciated
Thanks
Fozi
Trying to complete what I though would be a relatively simple task.
Got a form with two text boxes containing values - TotActivity and TotTime.
One the same form I've a Button called PrintRecord which I only want to display if both Text boxes are equal.
Currently I've entered
Private Sub Form_Current()
If Me.TotActivity = Me.TotTime Then
Me.BTN_PrintRecord.Visible = True
Else
Me.BTN_PrintRecord.Visible = False
End If
End Sub
Tried it with the .Value suffix also but to no avail. Any clues?
All help greatly appreciated
Thanks
Fozi