[Lazarus] TBufDataset.Filename property in Object Inspector

Michael Van Canneyt michael at freepascal.org
Mon Oct 9 10:13:52 CEST 2017

On Sun, 8 Oct 2017, Graeme Geldenhuys via Lazarus wrote:

> Hi,
> Following on from my previous TMemDataset.Filename issue. With 
> TBufDataset, there is no property editor associated with the FileName 
> property. Is this just an oversight or done for a specific reason?


> An the same issue as with TMemDataset.Filename. Clearly it expects a 
> specific file format denoted with a specific file extension. I selected 
> one of Kylix 3's *.cds files...
>   /home/graemeg/apps/kylix3/examples/delphi/db/fishfact/biolife.cds
> and when I set Active = True, the TBufDataset gave an "unable to open 
> file" error - I assume what it really meant is that it doesn't know the 
> file stream format.


TBufDataset can read the XML format used by TClientDataset, but by default it uses another format.
It cannot read the binary cds format.


More information about the Lazarus mailing list