On Mon, 30 Sep 2013, Marcos Douglas wrote:

On Mon, Sep 30, 2013 at 8:09 AM, Dennis Poon <den...@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.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to