by james » Sat Oct 31, 2009 6:45 pm
On the AfterUpdate Event of [sex], put the code
If (Me![sex].Value = "A") Or (Me![sex].Value = "B")Then
Me![age].Enabled = True
Else
Me![age].Enabled = False
End IF
And to be sure it's disabled when the form opens, put
Me![age].Enabled = False on the OnOpen event.