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

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


Hi

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
  begin
    StrLCopy(Buffer, 'Hello World', 11);
    result := true;
  end;

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



More information about the fpc-devel mailing list