D
Dave
Access 2007
Trying to get a reaction id age is less the 40 or greater then 72
I am getting NO reaction with this code
Private Sub Q1_AfterUpdate()
Dim age
age = DateDiff("d", [Q1], Date) / 365
Select Case Q1
Case "age < 40"
Forms!frmPage2.pgeIneligible.SetFocus
Case "age > 72"
Forms!frmPage2.pgeIneligible.SetFocus
Reason.Value = "Out of Age Range"
End Select
End Sub
Any assistance?
Thanks
dave
Trying to get a reaction id age is less the 40 or greater then 72
I am getting NO reaction with this code
Private Sub Q1_AfterUpdate()
Dim age
age = DateDiff("d", [Q1], Date) / 365
Select Case Q1
Case "age < 40"
Forms!frmPage2.pgeIneligible.SetFocus
Case "age > 72"
Forms!frmPage2.pgeIneligible.SetFocus
Reason.Value = "Out of Age Range"
End Select
End Sub
Any assistance?
Thanks
dave