I am totally new to Access/Programming in general. In fact this question is based on an assignment I have to complete. In fact it is the last assignment for the semester. So far I have scored all 100's on my assignments. I have picked up this vanilla version of Access fairly easily. But it is pretty basic. But this problem I cannot for the life of me figure out what to do. I have tried multiple things and none seem to work. My current version has been the closest to being complete yet. But I am stumped. I need a label to change what it says depending on if the MemberID box is active or not.
Active = Word1 Bold, and change font color
Inactive= Word 2 Bold, and change font color.
This is what I have so far.
Code:
Private Sub Form_Current() 'For when the MembershipStatus field is active, display the word current and the field value in magneta
'For when the MembershipStatus field is not active display the word review and the field value in blue
If MemberID.Value = "Active" Then
MemberID.ForeColor = FF00FF
Me.lblCurrentMsg.Caption = "Current"
Else
MemberID.ForeColor = 16711680
Me.lblCurrentMsg.Caption = "Review"
End If
End Sub
Thanks for any and all assistance.