I am wondering if anyone can help me figure how to create an sql statement that will calculate the Age<br><br>I created a query and this is what sql view looks like. I am hoping to create a form with a button an attach the code.<br><br>SELECT DISTINCTROW P.[RECORD ID#], P.CLFNAMES, P.CLLSTNAME, P.ID, P.HEALTHUNIT, L0G.ID, Date()-([P].[DOB]) AS age<br>FROM LOG INNER JOIN P ON (LOG.DOB = P.DOB) AND (LOG.ID = P.ID);<br><br><br>It creates this kind of number 123655<br><br>I would like to be able to convert it a real age like 3.5 and then put it into categories.<br>For example if age is between 3.6 and 5.5 the report should say that there is 1 todler which is the age above.<br><br>Thank you <p>Villica<br><a href=mailto:villica67@hotmail.com>villica67@hotmail.com</a><br><a href= > </a><br>