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?
Oversight.
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.
Correct.
TBufDataset can read the XML format used by TClientDataset, but by default it
uses another format.
It cannot read the binary cds format.
Michael.
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus