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

Dennis Poon dennis at avidsoft.com.hk
Mon Sep 30 13:09:16 CEST 2013


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?

At this stage, I only need to read the value, no to write it.

Also, how do I use the     procedure LoadFromStream(AStream : TStream; 
Format: TDataPacketFormat = dfAny)?
Especially, I don't understand the TDataPacketFormat parameter.

Any help is greatly appreciated.

Dennis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130930/cf51ef28/attachment.html>


More information about the fpc-pascal mailing list