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
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to