N
Nigel
I have a check box control on a form, "Complaint", which when unchecked I
want the ComplaintClosed memo control greyed out. If Complaint is checked I
then want the ComplaintClosed control to be visible and a message box to
display. I have used the following code, but the ComplaintClosed control will
only do as it should when I go to another recoed and then return to the
current record. Any help would be greatly appreciated.
Private Sub Form_Current()
If Me!Complaint = 0 Then
Me!ComplaintClosed.Enabled = False
Else
Me!ComplaintClosed.Enabled = True
MsgBox "Complaint against this person"
End If
End Sub
Thanks
Nigel
want the ComplaintClosed memo control greyed out. If Complaint is checked I
then want the ComplaintClosed control to be visible and a message box to
display. I have used the following code, but the ComplaintClosed control will
only do as it should when I go to another recoed and then return to the
current record. Any help would be greatly appreciated.
Private Sub Form_Current()
If Me!Complaint = 0 Then
Me!ComplaintClosed.Enabled = False
Else
Me!ComplaintClosed.Enabled = True
MsgBox "Complaint against this person"
End If
End Sub
Thanks
Nigel