What I'm trying to do is assign the sql command
select * from table_name where some_column like '%a%'
I have troubles to insert the '% character into the following command
sqlquery1.sql.text:='select * from grupist where name like'+ quotedstr(edit4.text)
When I try typing the following
sqlquery1.sql.text:='select * from grupist where name like'%'+ quotedstr(edit4.text) + '%''
it doesn't work properly(the compiler accepts the +quotedstr(edit4.text) part as a string and the % as an operator).
Can someone help