I have a quick report in which I want to add a chart in which data comes from adoquery, and I filter the data for the first master record. Everything works fine for the next, when it works, how can I deal with this problem?
Master Table (numberacao_1) Autoenc Detailed Table (numberacao_1) 
SELECT Count( GrauAnomalia and Anomaliatipo) AS SomaDeGrauAnomalia,GrauAnomalia , Anomaliatipo from Vibrometria_Sub_Sub
where numeracao_1=:numeracao_1 GROUP BY GrauAnomalia ,Anomaliatipo
source
share