Registriert seit: 3. Mai 2003
140 Beiträge
Delphi 2006 Enterprise
|
Re: ClientDataset Filtern
17. Mai 2008, 22:16
dann musst Du like verwenden:
Delphi-Quellcode:
database.ClientDataSet1.Filtered := False;
database.ClientDataSet1.Filter := Format('ausgabename like %s', [QuotedStr('%' + searchfield.Text + '%')]);
database.ClientDataSet1.Filtered := True;
mr2
"... we know, there are known knowns; there are things we know we know. We also know there are known unknowns; that is to say we know there are some things we don't know. But there are also unknown unknowns - the ones we don't know we don't know."
|