Filtering Records

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
Youriy86
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 30.03.2011, 09:43

Filtering Records

Post by Youriy86 »

Hello!
I am using TZQuery.Filter like this:

TZQuery.Filter := 'doc_title like ''*text*''';
TZQuery.Filtered := True;

Result set has all matched records and records that have length = 1.
And filtering don't working when i try to find by last symbol.

Please help me. What is solution?

P.S. sry for very bad english.
Stilgar
Fresh Boarder
Fresh Boarder
Posts: 10
Joined: 29.03.2011, 10:38

Post by Stilgar »

Try to use
TFilterRecordEvent = procedure(DataSet: TDataSet; var Accept: Boolean) of object;
property OnFilterRecord: TFilterRecordEvent;

then you can active with your Filtered := True.

So you don't depend by engine.
Post Reply