G
Guest
Hi there.
All I want is for the font to turn Red and Bold when the button is clicked
true and the record to stay that way. Until it is clicked false in the
future and turned back to Black and bold. But with this code I am turning all
the buttons red in each record on the continuous subform.
When I just want the record I clicked the button in to turn Red. Not the
rest of the records.
Here is the code I am using.
Private Sub CallBackBtn_Click()
If Me.CallBackBtn = True Then
Me.CallBackBtn.FontBold = True
Me.CallBackBtn.ForeColor = vbRed
Else
If Me.CallBackBtn = False Then
Me.CallBackBtn.FontBold = True
Me.CallBackBtn.ForeColor = vbBlack
End If
End If
End Sub
Any help would be great!
Thanks Dustin
All I want is for the font to turn Red and Bold when the button is clicked
true and the record to stay that way. Until it is clicked false in the
future and turned back to Black and bold. But with this code I am turning all
the buttons red in each record on the continuous subform.
When I just want the record I clicked the button in to turn Red. Not the
rest of the records.
Here is the code I am using.
Private Sub CallBackBtn_Click()
If Me.CallBackBtn = True Then
Me.CallBackBtn.FontBold = True
Me.CallBackBtn.ForeColor = vbRed
Else
If Me.CallBackBtn = False Then
Me.CallBackBtn.FontBold = True
Me.CallBackBtn.ForeColor = vbBlack
End If
End If
End Sub
Any help would be great!
Thanks Dustin