Sign in Join
Wiki copytemporary

TSdfDataSet: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: TSdfDataSet

OldNewLine
1+**TSdfDataSet** ![](/wiki-images/1/15/Tsdfdataset.png) is a database component that implements text-based [[TDataSet]] in [[SDF]] format.
2+
3+## Schema
4+
5+Record structure is derived from:
6+
7+- Schema property if assigned. Schema is TStringList so you can use for example:
8+
9+`SDFDataSet1.Schema.CommaText := '"Field1=10","Field2=500"'; // or`\
10+`SDFDataSet1.Schema.Append('<Field>=<Size>');`
11+
12+Where \<Field\> is FieldName and \<Size\> is size of TStringField which will be created
13+
14+- First line of text file if property FirstLineAsSchema is set to true
15+
16+## See also
17+
18+- [[TDataSet]]
19+- [[CSV|Usage example]]
20+
21+---
22+*From the Free Pascal wiki, page "TSdfDataSet", as it stood on 2017-07-14 after a change by Avra, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history