Sign in Join
Wiki copytemporary

TSdfDataSet/fr: what changed

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

Title: TSdfDataSet/fr

OldNewLine
1+**TSdfDataSet** ![](/wiki-images/1/15/Tsdfdataset.png) est un composant de base de données qui implémente un [[TDataSet/fr|TDataSet]] basé sur du texte dans le format [[SDF/fr|SDF]].
2+
3+## Schéma
4+
5+La structure d'enregistrement est dérivée de :
6+
7+- la propriété Schema si affectée. Schema est une TStringList donc vous pouvez utiliser par exemple :
8+
9+``` pascal
10+ SDFDataSet1.Schema.CommaText := '"Field1=10","Field2=500"'; // or
11+ SDFDataSet1.Schema.Append('<Field>=<Size>');
12+```
13+
14+Où \<Field\> est un nom de champ et taille la taille du TStringField qui sera créé.
15+
16+- la première ligne du fichier texte si la propriété FirstLineAsSchema est mise à True.
17+
18+---
19+*From the Free Pascal wiki, page "TSdfDataSet/fr", as it stood on 2020-03-02 after a change by Trev, 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