TVirtualDataSet working with tables that does not have the recno property.
Posted: Mon 27 Jan 2020 10:31
Hello,
I am interested in VirtualDac to virtualize the access to tables that does not have the Recno property ( for example Elevatedb ), but has the RecordCount and BookMark properties instead of Recnos.
If I set the property OnGetFieldValue of a TVirtualDataSet to a procedure for example :
procedure TfmMain.DeptDataSetGetFieldValue(Sender: TObject; Field: TField; RecNo: Integer; out Value: Variant);
The procedure pass as parameter a Recno ( that I do not have in this kind of tables ), but in this case I need a bookmark instead.
Would it possible to implement new events oriented to work with bookmarks instead of Recnos?.
Thank you.
I am interested in VirtualDac to virtualize the access to tables that does not have the Recno property ( for example Elevatedb ), but has the RecordCount and BookMark properties instead of Recnos.
If I set the property OnGetFieldValue of a TVirtualDataSet to a procedure for example :
procedure TfmMain.DeptDataSetGetFieldValue(Sender: TObject; Field: TField; RecNo: Integer; out Value: Variant);
The procedure pass as parameter a Recno ( that I do not have in this kind of tables ), but in this case I need a bookmark instead.
Would it possible to implement new events oriented to work with bookmarks instead of Recnos?.
Thank you.