[fpc-devel] How to add integer in TDataSet.GetFieldData?

Dusan Halicky dusan.halicky at gmail.com
Wed Oct 8 22:44:42 CEST 2008


I'm creating dataset derived from TDataSet. I have a problem with
adding integers in TDataSet.GetFieldData method. For now, I can only
add strings this way:

  if Buffer <> nil then
    StrLCopy(Buffer, 'Hello World', 11);
    result := true;

But I need to add Integer. And boolean. Thanks.

More information about the fpc-devel mailing list