I was trying to figure out how TQuery is creating the final SQL String by correctly Replacing the values specified in the Params Property.
That is let the SQL string be SELECT * FROM tablename WHERE username= :Name
and i give the value of :Name as 'abc'
in Params option of TQuery.
but the final SQL string is formed as SELECT * FROM tablename WHERE username='abc'
.
I just want to know how that is done.
I tried to Debug the application line by line to find the function that do the above specified job, But i couldn't. Someone please help.