I´ve been trying to make a master/detail relationship under to TOCIQuery components using parametric sql sintax: select * from Informaciondiariaestaciones I where I.StationId = tationId but it really doesn´t work. But in oracle sql console works fine. What is happenning. Can any one help me?.