Page 1 of 1

Show currency in TCRDBGrid

Posted: Wed 14 Oct 2009 07:41
by oz8hp
I use the TCRDBGrid from my UniDAC package and would like it to show currency values with 2 digits after decimalpoint, but no matter what I do it won't do so.

Posted: Thu 15 Oct 2009 09:00
by Plash
Create fileds in Field Editor. Then set the DisplayFormat property of the field to #.## or #.00

Posted: Thu 15 Oct 2009 09:17
by oz8hp
FieldEditor???

I have a columneditor on the grid and no DisplayFormat there.

Posted: Fri 16 Oct 2009 08:11
by Plash
Right click the TUniQuery or TUniTable component. You can select Field Editor from the context menu of these components.

Posted: Mon 19 Oct 2009 05:30
by oz8hp
Thanks - that I had not seen :D
But not it looks like it is working like I want it to do.

Thanks again