FireDAC.Comp.Script.TFDScriptOptions.MaxStringWidth
Delphi
property MaxStringWidth: Integer read FMaxBytesToPrintLongs write FMaxBytesToPrintLongs default 80;
C++
__property int MaxStringWidth = {read=FMaxBytesToPrintLongs, write=FMaxBytesToPrintLongs, default=80};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
property | published | FireDAC.Comp.Script.pas FireDAC.Comp.Script.hpp |
FireDAC.Comp.Script | TFDScriptOptions |
Description
Spécifie la taille maximale de la valeur du champ chaîne.
Définissez MaxStringWidth sur le nombre maximal de caractères par valeur de champ chaîne. Quand le moteur de script génère une valeur de champ plus longue, elle est tronquée à la valeur spécifiée par la propriété MaxStringWidth. La valeur par défaut est 80 caractères.
La propriété peut être définie dans un script avec la commande SET (LONG | WIDTH) <valeur>
.