@FezaCakir: I suggest using QuotedStr in your Filter expression instead of multiple single quotes:
Filter := 'XName = ' + QuotedStr('*'+edSearch.Text+'*');
Makes it more readable and avoids errors. And please use the Insert Code button to format code parts of your messages.
@af0815: SQL dialect doesn't matter here as TDataSet.Filter is purely a client side operation and doesn't reach out to the DBMS.