Additional
dbCAP
AnyDAC
ThinDAC
NCOCI8
Topic: formating currency field with AnyDAC?
formating currency field with AnyDAC?
Posted: 2007/05/21 05:27
 
I have BDS2006, AnyDAC & MySQL with decimal(12,2) field in table. In DBGrid this field is shown like "1000" and I would like to format it like currency field "1.000,00"

With ADOQuery it was easy usind field editor and setting fieldtype to currency, is there a way to do this with AnyDAC (ADQuery)?

Help please -

Thank you
Re:formating currency field with AnyDAC?
Posted: 2007/05/21 05:42
 
Hello

With AnyDAC you can and should do the same, as you was doing with ADO. May be you are confused, that double-clicking TADQuery does not show fields editor. If yes, then right click on TADQuery and choose field editor from popup menu.

Regards,
Dmitry
Re:formating currency field with AnyDAC?
Posted: 2007/05/21 07:29
 
Of course you're right.. I must've been blind...

Sorry and thank you very much for help