Using LIKE statement for filtering

后端 未结 6 1723
南方客
南方客 2021-01-05 06:44

Im using this code to filter my table:

Table.Filtered := False;
Table.Filter := \'[\' + Field_Search + \'] LIKE \'\'%\' + Edit_Search.Text + \'%\'\'\';
Tabl         


        
6条回答
  •  伪装坚强ぢ
    2021-01-05 07:13

    Table.Filtered := False;
    Table.Filter := Field_Search + ' LIKE ' + QuotedStr('*' + Edit_Search.Text + '*');
    Table.Filtered := True;
    

提交回复
热议问题