Page 2 of 2

Posted: 23.03.2012, 06:09
by Shagrat3
EgonHugeist,
Can you see my post http://zeos.firmos.at/viewtopic.php?t=3158

Posted: 23.03.2012, 09:29
by EgonHugeist
Shagrat3,

I took a look. But your code-snipets are incomplete or am i wrong? "fDisignerMain"C -> what's that?

Here it might be better if you generate a patch with tortoiseSVN and attach it. I can't follow you from which files these snipets are and where they should have to be used. Can you give me a better advice?

best regards

EgonHugeist

Btw. the bookmark-problem is still solved like this:

if BookmarkValid({$IFDEF WITH_TBOOKMARK}BM{$ELSE}@BM{$ENDIF}) Then
begin
InternalGotoBookmark({$IFDEF WITH_TBOOKMARK}BM{$ELSE}@BM{$ENDIF});
Resync([rmExact, rmCenter]);
end;

Because the newer FPC-Releases also support the TBookMark.

So please update your revision (branches\testing or branches\testing-egonhugeist)

Posted: 26.03.2012, 11:15
by Shagrat3
See the last post.

ZEOS not use index when locate.
If table have unique index locate with my function work faster (Its may see on big tables).
I can write domo program

Posted: 27.03.2012, 18:14
by EgonHugeist
Shagrat3,

A demo would be very helpfull. The functionality seems very special for me but could be helpfull. You make a complete walk throught all Rec-Rows which the Table.Locate does too. The difference seems for me the compare of the values..

Btw. In which file would you place your funtion? ZDatasetUtils.pas?

Best regards