[patch_done] Overwrite Records in Tables

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Shagrat3
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: 28.07.2009, 16:02
Contact:

Post by Shagrat3 »

EgonHugeist,
Can you see my post http://zeos.firmos.at/viewtopic.php?t=3158
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post 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)
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Shagrat3
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: 28.07.2009, 16:02
Contact:

Post 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
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post 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
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Locked