Code:
Private Sub Sex_AfterUpdate()
If Nz(Me.Status, "") <> "" And Nz(Me.Sex, "") <> "" Then
Me.MaidenName.Visible = Me.Sex = "female" And Me.Status = "married"
End If
End Sub
Private Sub Status_AfterUpdate()
If Nz(Me.Status, "") <> "" And Nz(Me.Sex, "") <> "" Then
Me.MaidenName.Visible = Me.Sex = "female" And Me.Status = "married"
End If
End Sub
Private Sub Form_Current()
If Me.NewRecord Then
Me.MaidenName.Visible = True
End If
If Nz(Me.Status, "") <> "" And Nz(Me.Sex, "") <> "" Then
Me.MaidenName.Visible = Me.Sex = "female" And Me.Status = "married"
End If
End Sub