I accidentally carefully, I'm still in my heart today. ()
AdoQuery1-> Close (); adoquery1-> sql-> text = "select * from orderrs where customerid =: aparam"; adoquery1-> parameters-> parseql (adoQuery1-> sql-> text, true); // Can't Use prepared = true, invalid adoquery1-> parameters-> parambyname ("aparam") -> value = "tomsp"; adoquery1-> open ();