Problem skipping field based on Age field

russi

Registered User.
Local time
Today, 18:47
Joined
Jul 18, 2000
Messages
385
I have a field called AgeCalculation bound to AgeAtApplication. AgeCalculation figures the age based on date of application and date of birth. AgeAtApplication gets this value and it is stored in the Client Table.
It is of the number type.

I am trying to do an OnExit code where if the age is less than 22, the cursor will skip a field.

I have tried:
If Me!AgeAtApplication < 22 then
LastGradeDone.SetFocus
End if

BUT, the field is not skipped.

Any ideas?
If I neewd to clarify something, please let me know.

Thanks.
 
Thanks. It worked!
 

Users who are viewing this thread

Back
Top Bottom