Jump to content

This topic is 6014 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I need to create a calculation that will allow me to add 5, 2 or 1 years to a review date... but there is a snag.

In a nutshell here is what is required... I will get to the snag at the end.

A person in this database has a medical category (1,2 or 3) If they are category 1 or 2 and they are under 50 then they must be medically checked a 5 year intervals. If they are between 50 and 60 it must be every 2 years. If they are category 3 after the age of 40 it must be every 5 years.

That in its self is causing me some grief but here is the snag.

The field I am creating adds years to a review date OK but if a person has a medical at 49 on the 1/1/08 they will not need to be reviewed until 1/1/2013 and my date of review field will do this no worries. BUT, when he turns 50 the date of review field will change and rob him of three years.

How can I stop this from happening!!!:)

Posted

Either use a stored calc or use a number field with calculated result with Do not replace unchecked.

Posted

In addition to John's advice: Your date of review field needs to calculate not on the person's actual age, but their age at the date of their last review. If they haven't had a review, you can use their actual age. Is that enough to get you started?

This topic is 6014 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.