Filtering a Delphi table

[ DelphiLand FAQ ]

Posted by Seriousfun on November 08, 2004

I am wanting to filter a data aware table. The filter works with
Table1.Filter := 'Name = ''Joe Bloggs''';
but it fails with
Table1.Filter := 'Name='+Filter_Request.KeyValue;
where the Filter_RFequest.KeyValue = Joe Bloggs.
I assume I have some incorrect syntax.



Related Articles and Replies

[ Delphi Forum -- by DelphiLand ]