Home > Back-end >  Delphi through the filter condition display data
Delphi through the filter condition display data

Time:11-06

There are several filters, if the filter is empty, show all of them

CodePudding user response:

Data from database or the static data on the grid,

CodePudding user response:

This is the query conditions, as a condition, not empty is empty not as a condition, such as:
Var
StrSql: string;
The begin
StrSql:='select * from table 1 & gt; where 0 '.
If xxx<> "' then strSql: strSql=+ 'and fieldXXX like' '%' + + '%' XXX ';
.
end;
  • Related