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?

Was it helpful?

Solution

Change the Filter syntax to

  Clientdataset.Filter := 'NOT [Name]  LIKE ' +QuotedStr('Paulo%');
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top