Again, you need to use your exact control names. In the example provided
the "ctl" in front of the control name is just an example of what a
control name *might* look like if you were using naming conventions, which
you are not. Here is another example of how it should look.
The code in the On Current event of your form should look something like;
Private Sub Form_Current()
Me![Reason Enforced].Enabled = Me![90 Day Rule Enforced]
Me![Good Cause Reason].Enabled = Not Me![90 Day Rule Enforced]
End Sub
The code in the After Update event of your checkbox should be;
Private Sub 90_Day_Rule_Enforced_AfterUpdate()
Me![Reason Enforced].Enabled = Me![90 Day Rule Enforced]
Me![Good Cause Reason].Enabled = Not Me![90 Day Rule Enforced]
End Sub
In the above example, “Me!†is not part of the control name. It is an easy way
of telling VBA that the control you are referring to is located on the same
form
that the code is in. Also, I have enclosed your control names in brackets
because
they contain spaces. Enclosing them in brackets is a way of ensuring that VBA
knows they are form controls and not something else.
BTW – you could probably just copy and paste the above code samples and
be done with it, but If you are going to be creating / modifying objects in
this
or other Access applications on a regular basis, I would suggest you start
learning
the VBA side. It will give much greater control over how your app works.