ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  How to format {fieldN}?
Posted by Lim on Sep-26-2014 15:31
Hi, I'm Lim.

I wanna format {fieldN} like {value}.

{value|,} is work. but {field0|,} is not work.

How to format {fieldN}?

  Re: How to format {fieldN}?
Posted by Peter Kwan on Sep-27-2014 00:33
Hi Lim,

If your extra field is an array of numbers or dates, then you can format it like numbers or
dates. Note that if your extra field is an array text strings, then they cannot be formatted.
Only numbers or dates can be formatted.

For example, in C++:

c->addExtraField(DoubleArray(.....));  //an array of numbers

then you can use "{field0|,}" to format them. If you use:

c->addExtraField(StringArray(.....)); //an array of text strings

then you cannot format them.

Hope this can help.

Regards
Peter Kwan