Around TSDFDataSet and TFixedFormatDataSet . lazarus / 16-Databases ---------------------------------------------------------------------- arwen · 2007-01-10 07:08 Where I can find an example on TSDFDataSet and FixedFormatDataSet ? Thanks to all ---------------------------------------------------------------------- arwen · 2007-01-10 09:28 I'm trying with TSDFDataSet but it seems  not work . On my form I have put a TSDFDataSet where I define 2 item like ftString and I have assigned a file name where save data. Then I have put a TDataSource connected with my TSDFDataSet and then a TDBNavigator connected to the datasource. At the end I have put a TDBGrid connected with TDataSource but if I try to define the columns I can't see the field name in the dropdown FieldName.  :evil: Why ?? Some example !! TSDFDataSet work on windows and Linux (or don't work) ? Thanks to all.  :cry: ---------------------------------------------------------------------- arwen · 2007-01-10 16:18 I have uncovered that the two components have been converted from delphi components. I have download the originals components and I have successful recompiled the example with Lazarus . Now I am studying it. The original components is at this URL : http://www.torry.net/pages.php?id=567 When I'll have understood how it work I'll put it on my web page .  :roll: ---------------------------------------------------------------------- ragnar · 2007-02-01 21:26 Quote from: "arwen"I'm trying with TSDFDataSet but it seems  not work . ... Why ?? Some example !! ... The following works fine with me: ------------------------------------------ procedure TForm1.Button2Click(Sender: TObject); begin   if (not SdfDataSet1.Active) then     begin       SdfDataSet1.FileName:='/home/ragnar/gurus.txt';       SdfDataSet1.Active:=true     end   else     begin       SdfDataSet1.Active:=false;       SdfDataSet1.FileName:=''     end end;   ------------------------------------------ The file /home/ragnar/gurus.txt looks exactly like this: -------------------------- name, account,city anita, 501, oslo hermann,551,oslo heinz,552,berlin -------------------------- I have a TSdfDataSet, TDataSource, TDBGrid and TDBNavigator on the form, and the delimiter prop set to comma. Everything works just fine.  Can't get the filter property to work,  though - anyone knows how to set the filter? Greetings,  Ragnar Schroder ---------------------------------------------------------------------- arwen · 2007-03-10 10:53 I have developed a little application that use SdfDataSet and the Tagraph to manage my Aquarius . If someone is interests the source can be downloaded here : http://freeflow.awardspace.com/acquarius.html PS : the site and the program is only in Italian for the moment  Lazarus is fantastic