Problem with filter for get a range of ages

Hi, sorry for my bad english

In the clause select I’m using the TIMESTAMPDIFF function for show the age.

I need to use the advanced search for filtering records in a range (for example between 2 and 12 years old) but it does not work.

if I use the refined search in a grid works well, but a need set the condition previous to a report

I appreciate your help…