TSdfDataSet/fr
TSdfDataSet
est un composant de base de données qui implémente un TDataSet basé sur du texte dans le format SDF.
Schéma
La structure d'enregistrement est dérivée de :
- la propriété Schema si affectée. Schema est une TStringList donc vous pouvez utiliser par exemple :
SDFDataSet1.Schema.CommaText := '"Field1=10","Field2=500"'; // or
SDFDataSet1.Schema.Append('<Field>=<Size>');Où <Field> est un nom de champ et taille la taille du TStringField qui sera créé.
- la première ligne du fichier texte si la propriété FirstLineAsSchema est mise à True.
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.