TsgcWSPClient_DatasetProperties › FormatSettings

FormatSettings Property

Shared format settings used to serialize numeric and date/time fields.

Syntax

property FormatSettings: TsgcWSDatasetFormatSettings read FFormatSettings write SetFormatSettings;

Default Value

Remarks

Defines how float and datetime field values are formatted on the wire so server and clients do not clash when they run with different locales. These settings must be identical on every peer. The default values are:

Example

oProtocol.FormatSettings.DecimalSeparator := '.';
oProtocol.FormatSettings.ShortDateFormat := 'yyyy-mm-dd hh:nn:ss';

Back to Properties