lundi 16 mars 2015

How to read field values of a TDataSet descendant without having to move its cursor

I see having the ability to read record values from a TDataSet descendant without having to move the cursor is a big improvement for people working with database applications.


I have searched long and hard on this topic but the closest I can find is in XE7 TFDMemTable where you can read field values with statements like this:


FirstName := fdsPeople.Table.Rows.ItemsI[i].GetValues('FirstName', True);


where fdsPeople = instance of TFDMemTable i = an integer referring to the record index FirstName is a string variable


Is there already a way to achieve this with a TDataSet that I am not aware of? If not, how can we request for this feature ?





Aucun commentaire:

Enregistrer un commentaire