Question

When using the Filter property of the ClientDataSet with filter

Name NOT LIKE 'Paulo%'

says that the syntax is incorrect.

how can I make a workaround in the filter?

Était-ce utile?

La solution

Change the Filter syntax to

  Clientdataset.Filter := 'NOT [Name]  LIKE ' +QuotedStr('Paulo%');
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top