ActiveRecord property

Freature requests from users for ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist, mdaems

Post Reply
User avatar
apiove
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: 04.01.2006, 15:03

ActiveRecord property

Post by apiove »

ActiveRecord
Indicates the index of the active record in the internal cache of records.
Delphi syntax:
property ActiveRecord: Integer;
C++ syntax:
__property int ActiveRecord = {read=FActiveRecord, nodefault};
Description:
[...]
Note: Unidirectional datasets never cache records. For unidirectional datasets, the ActiveRecord property is meaningless (and always 0).

This is the guide of Deplhi7, i can't find this property into Zeos DataSet implementation...
Will be a future implementation?

Regards,
Andrea Piovesan
gto
Zeos Dev Team
Zeos Dev Team
Posts: 278
Joined: 11.11.2005, 18:35
Location: Porto Alegre / Brasil

Post by gto »

hello!

try the property RecNo ;)

ZQuery.RecNo (ZTable and ZReadOnlyQuery has it too, I think) returns the number of the record in the "internal cache" of component

try it, see if it's what you are looking for
Use the FU!!!!!IN Google !

gto's Zeos Quick Start Guide

Te Amo Taís!
User avatar
apiove
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: 04.01.2006, 15:03

Post by apiove »

gto wrote:hello!

try the property RecNo ;)

ZQuery.RecNo (ZTable and ZReadOnlyQuery has it too, I think) returns the number of the record in the "internal cache" of component

try it, see if it's what you are looking for
I was developing a TDBTreeView, so I needed that property, because I'have not to use TZQuery or TZTable, but a TDataSet implementation (TZQuery&Table are TDataSet implementation, are them?)... I've solved the missing in other way using other TDataSet properties.

Thanks for the attention,
Andrea.
zippo
Silver Boarder
Silver Boarder
Posts: 322
Joined: 12.10.2005, 18:01
Location: Slovenia

Post by zippo »

RecNo is also a TDataset implementation if I'm not wrong..
User avatar
apiove
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: 04.01.2006, 15:03

I know...

Post by apiove »

zippo wrote:RecNo is also a TDataset implementation if I'm not wrong..
Yes it is, just a stilistic note! ;)

Regards,
Andrea
Post Reply