I have tried everything and searched everywhere but I must be overlooking something. I have a DBgrid that is linked to a query. One of the columns needs to show currency and the field is float. I am using Delphi XE.
I have tried the following but Delphi XE doesn't have the displayformat property.
I would say the 2nd variant is correct
But why don't you set it at design time on your field object ?
I have checked, Delphi XE has everything in place
DigitalNam
ASKER
Thank you, my problem was that DB.pas not in my uses.
But why don't you set it at design time on your field object ?
I have checked, Delphi XE has everything in place