Additional
dbCAP
AnyDAC
ThinDAC
NCOCI8
Topic: TADTable question
TADTable question
Posted: 2007/09/19 20:14
 
Is there some functionality similar to the kbmMemTable DeltaHandler component?

I would like to open the table allow the user to modified records and then once a button is click, scroll through all the rtModified records.

How can I just "see" rtModified records on demand / Is there a way to get a record count of just the modified records?

Also, is there a way to keep more than one version of the same modified record (so if a record is modified 3 times, be able to see these 3 modifications)



Regards

Isi
Re:TADTable question
Posted: 2007/09/19 22:55
 
Hello

Is there some functionality similar to the kbmMemTable DeltaHandler component?
No direct analogue, but it is on todo. But there are many events, which will allow to you implement what you need. Also, how exactly you going to use DeltaHandler ?
How can I just "see" rtModified records on demand / Is there a way to get a record count of just the modified records?
All AnyDAC datasets (InmemTable, Query, etc) have property UpdateRecordTypes. Set it to [rtModified] to see only modified records. DataSet.SourceView.Rows.Count will return the number of accessible rows.
Also, is there a way to keep more than one version of the same modified record (so if a record is modified 3 times, be able to see these 3 modifications)
No, there is no such functionality. But it is also on todo.

Regards,
Dmitry