I need to round UP numbers (years) to a whole number coming from this formula
Abs(DateDiff("m",[active_date],Now()))/12
Examples of the goal of the query:
Date diff is 4.1, then result is 5
Date diff is 4.9, then result is 5
At this time, the rounding shows 4 when the date diff is 4.1. If I take left$,1 from the result, I will miss the results where is 10 or above.
I also tried to play with this formula to no avail: Int((DateDiff("yyyy",[active_date],Now())))
Thanks in advance of for the help.. I tried searching in the forum but I saw nothing rounding up, only down and I could not convert.
Abs(DateDiff("m",[active_date],Now()))/12
Examples of the goal of the query:
Date diff is 4.1, then result is 5
Date diff is 4.9, then result is 5
At this time, the rounding shows 4 when the date diff is 4.1. If I take left$,1 from the result, I will miss the results where is 10 or above.
I also tried to play with this formula to no avail: Int((DateDiff("yyyy",[active_date],Now())))
Thanks in advance of for the help.. I tried searching in the forum but I saw nothing rounding up, only down and I could not convert.