Home > Back-end >  Delphi clientdataset filter problem
Delphi clientdataset filter problem

Time:09-28

Delphi clientdataset filter when

Cds1. Filtered:=false;
Cds1. Filter:='id in (23213,43,345,242,324,2234)
Cds1. Filtered:=true;
When,43,345,242,324,2234 (23213) in the number of more than 1000 or length is too large, running will be an error, the number of not more than, there is no problem,
Is there a master met?

CodePudding user response:

In the event of an filerrecord filtering, write their own filtering method,

CodePudding user response:

This should be the bug in the TClientDataSet data filtering, try to avoid long string filtering

CodePudding user response:

1/f, method is very good, filter string is too long a problem easily, get event
  • Related