Hello rmock123,
Try redoing the query to avoid the UDF. You could use an expression such as:
IIf(Month(OtherDate) < Month(Bdate) Or (Month(OtherDate) = Month(Bdate) And Day(OtherDate) < Day(Bdate)), Year(OtherDate) - Year(Bdate) - 1, Year(OtherDate) - Year(Bdate))
Regards,
Patrick