What exactly does the data look like in the field AgeNow?
is it really
1y.6 m
2y.5m
3y;2m
with periods OR semi-colons and perhaps some spaces? If so, the function above won't work because it's based on the age being a number. How come you are saving the age in this format? Usually you'd just get the birth date and subtract from the current date, or some other date; what i mean is you calculate the age on-the-fly, since it changes daily. You just store the birth date since it never changes.
In any case, if you really do store the age and the reason for that turns out to be a valid one, the first thing i'd do is split that data up into two fields, AgeYears and AgeMonths so you can do calculations on it. Trying to do calcuations on a field that has no standard format, meaning someone can type anything they want in there, will be a nightmare.
Just my opinion....g
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244