johnhobbis
Registered User.
- Local time
- Today, 00:32
- Joined
- Apr 5, 2001
- Messages
- 22
Hi I am trying to toggle a Yes/No state, so that Yes has text "AT RISK" on the toggle and NO has "NOT AT RISK" text
I have done this Expression: which looks at the state and show a box when YES and disappears when NO:
Private Sub At_Risk_Register_Click()
If Me.At_Risk_Register.Value = True Then
Me.ATRISK.Visible = True
Else
Me.ATRISK.Visible = False
End If
End Sub
But, Need it to work of the Toggle itself.
Thanks for that little Pearl........
Only Problem is that when I go back to the record the button is blank and doesnt display the AT RISK or NOT AT RISK ? and the each record in the form has the same state AT RISK or NOT AT RISK
Do you Know how you can change the background colour of a button.??
[This message has been edited by johnhobbis (edited 04-11-2001).]
I have done this Expression: which looks at the state and show a box when YES and disappears when NO:
Private Sub At_Risk_Register_Click()
If Me.At_Risk_Register.Value = True Then
Me.ATRISK.Visible = True
Else
Me.ATRISK.Visible = False
End If
End Sub
But, Need it to work of the Toggle itself.
Thanks for that little Pearl........
Only Problem is that when I go back to the record the button is blank and doesnt display the AT RISK or NOT AT RISK ? and the each record in the form has the same state AT RISK or NOT AT RISK
Do you Know how you can change the background colour of a button.??
[This message has been edited by johnhobbis (edited 04-11-2001).]