[Lazarus] Communication USB, Lazarus et MAC OS X

S├ębastien FLOURETTE sebastien.flourette at gmail.com
Tue May 26 13:58:14 CEST 2009



On Mon, 25 May 2009, Andrea Mauri wrote:

> Dear all,
> I have few questions about the Data Export components, (e.g. TCSVExporter).
> I create a database at runtime, then I create queries and I would like to 
> save the resulting datasets.
> Is it possible to save the datasets using as field headers something 
> different than the field names? Have I to use the ExportedName property? How 
> can I set it during runtime?

Yes, ExportedName is what should be used.

You should populate the ExportFields collection, and set the ExportedName
property of each item.

> Is it possible to define a mask to save float fields? e.g If I would like to 
> save a float number with only two decimal digits, how can I do that?

I would think that the displaymask of the field component can be used to do
so ?

Michael.

> Thanks to all,
> andrea
>
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>




More information about the Lazarus mailing list