TextFormat
Posted: Tue Sep 08, 2009 6:04 am
I get my data from msSQL. I have some fields with dates. I tried to change the TextFormat to dd.MM.yyyy.
I tried different ways:
1. In the ribbon in TextFormat: chose Date and then in the right combobox 08.09.2009
2. In the properties-panel: Text Format: In the dialog chose Date and then 08.09.2009
3. DblClicked on the TextField: chose Expression and wrote: {Format("{0:dd.MM.yyyy}", [Fakturert].SendDate)}
But... it did not help, it still looks like this: 24.08.2009 00:00:00
I also have some currency fields. I would like always to show 2 digits, like this: kr. 89,00 kr. 14,12, kr. 667,80
I tried different ways to format the text, but I still get this: kr. 89 kr. 14,12 kr. 667,0
And so there are some numbers where I always want to show 2 digits.
But 11,123456 does not change to 11,12 whatever I try...
What am I doing wrong?
I tried different ways:
1. In the ribbon in TextFormat: chose Date and then in the right combobox 08.09.2009
2. In the properties-panel: Text Format: In the dialog chose Date and then 08.09.2009
3. DblClicked on the TextField: chose Expression and wrote: {Format("{0:dd.MM.yyyy}", [Fakturert].SendDate)}
But... it did not help, it still looks like this: 24.08.2009 00:00:00
I also have some currency fields. I would like always to show 2 digits, like this: kr. 89,00 kr. 14,12, kr. 667,80
I tried different ways to format the text, but I still get this: kr. 89 kr. 14,12 kr. 667,0
And so there are some numbers where I always want to show 2 digits.
But 11,123456 does not change to 11,12 whatever I try...
What am I doing wrong?