Hello,
I have a field called Age which is calculated when a date of birth is entered using the code:
Me!Age = DateDiff("yyyy", [DOB], Now()) + Int(Format(Now(), "mmdd") < Format([DOB], "mmdd"))
The problem is that this field does not update automatically when the date changes. Is there a way to do this and at the same time reference a Call Function?
The Call function sees the Age of the person and calculates how much they should be paying so it is important the Age change triggers the call function.
Any ideas appreciated.
Thanks
I have a field called Age which is calculated when a date of birth is entered using the code:
Me!Age = DateDiff("yyyy", [DOB], Now()) + Int(Format(Now(), "mmdd") < Format([DOB], "mmdd"))
The problem is that this field does not update automatically when the date changes. Is there a way to do this and at the same time reference a Call Function?
The Call function sees the Age of the person and calculates how much they should be paying so it is important the Age change triggers the call function.
Any ideas appreciated.
Thanks