Reputation: 190
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?
Upvotes: 3
Views: 3287
Reputation: 27377
Change the Filter syntax to
Clientdataset.Filter := 'NOT [Name] LIKE ' +QuotedStr('Paulo%');
Upvotes: 14