[fpc-pascal] how to directly access field/record value of TBufDataSet?

Michael Van Canneyt michael at freepascal.org
Tue Oct 1 09:01:43 CEST 2013

On Mon, 30 Sep 2013, Marcos Douglas wrote:

> On Mon, Sep 30, 2013 at 8:09 AM, Dennis Poon <dennis at avidsoft.com.hk> wrote:
>> Since TBufDataSet is in-memory, to speed things up, how can I directly
>> access the N'th record and M'th field's value as Variant?
>> [...]
> You can use buf.RecNo and buf.FieldByName('field_name') OR buf.Fields[i].

This is not direct memory access.


More information about the fpc-pascal mailing list