EMS logo

Produits

Advanced Data Export .NET

Notre statut de partenariat

MySQL Gold Certified Partner
Microsoft Certified Partner
Oracle Certified Partner
Embarcadero Technology Partner

EMS Advanced Data Export .NET

Documentation en ligne

TQExport3.UserFormats

TQExport3      See also



property UserFormats: TStrings;

Description
The UserFormats property is used in all TQExport3 descendant components, except TQExport3DBF
and TQExport3SQL, and allows to set a special output format for any source field. At the same time, the setting of the strings being a part of the property is set in the following way

<field_name>=<output_format>

where <field_name> is the name of one of the source fields, and <output_format> is the output format for this field. For more details, see the Delphi/C++ Builder documentation on FormatFloat, FormatCurrency, FormatDateTime functions. The <field_name> is case-insensitive. Note, that there must not be any spaces to the left and to the right of the equality sign.

Use UserFormats property in this and only in this case when you need to set different output formats for two and more fields of the same type, otherwise Formats
property should be used.


Note: If you want to add measurement units or any other comment string to format string on export to XLS you need to keep in mind that symbols "d", "e, "h", "m", "s" and "y" are used for formatting purposes. If you need to use these symbols in the format string, add back slash before the symbol (e.g. "", "").


Example:


      field1 = ###.# kilo

      field2 = ##