Alternative to TBufDataSet lazarus / 16-Databases ---------------------------------------------------------------------- yellowbit · 2015-02-02 15:17 Hi, I want to create a simple application using TBufDataSet as in- memory data storage. Application runs well on Windows 7, but not on Linux (Raspbian) - crashes. After small investigation, it seems to be caused by inserting data to BufDataSet: Code: [Select]for i:=0 to count do begin   BufDataSet.Append;   BufDataSet.FieldByName('ID').Value := i;   BufDataSet.Post; end; This code inserts random values to the ID field, instead of i. After few inserts, the application crashes. On the Windows 7 works fine. So, I'm looking for the alternative component to TBufDataSet. Can anyone recommend something? ---------------------------------------------------------------------- LacaK · 2015-02-02 18:25 Can you debug application to find root of problem. May be that we can FIX TBufDataSet BTW as a alternative you can try use simpe TMemDataSet if it fits your needs. ---------------------------------------------------------------------- A.S. · 2015-02-02 19:59 Try the following   BufDataSet.FieldByName('ID').AsInteger := i; instead of ".Value" ---------------------------------------------------------------------- Jurassic Pork · 2015-02-03 00:18 hello, yellowbit, no try except or finally in your code ?