all groups > sql server reporting services > november 2004 >
You're in the

sql server reporting services

group:

Format Currency Problem - HELP!


Format Currency Problem - HELP! gail.beedie NO[at]SPAM chi.frb.org
11/26/2004 4:02:04 PM
sql server reporting services:
I need to display currency fields with a dollar sign, commas and no
decimal places. I entered
=FormatCurreny(fields!nameoffield.value,0,-1,-1)in the textbox
property's custom edit expressions box.

It drops the decimal places and adds the dollar sign just fine but,
I need the commas as well. What do I do?


I would apprectiate help here.

Thanks,
RE: Format Currency Problem - HELP! Charles Kangai
11/26/2004 8:29:05 PM
If your Regional Settings in Control Panel is US, then go to the Format
property of the field in the Properties sheet and type in C0. (letter "C"
followed by a zero).

If your Regional Settings is not US, then go to the Language property of the
textbox, select English (United States) from the listbox, then in the Format
property type in C0.

Alternatively, you can just use an expression: =Format(FieldName, "$#,###").

HTH

Charles Kangai, MCT, MCDBA


[quoted text, click to view]
Re: Format Currency Problem - HELP! gail.beedie NO[at]SPAM chi.frb.org
11/28/2004 7:19:32 AM
YOU ARE MY HERO!!!!

GAIL



[quoted text, click to view]
Re: Format Currency Problem - HELP! cmcdavid
12/3/2004 1:51:01 PM
And mine as well. I had a different issue, but this clued me into what my
problem was. Thanks

[quoted text, click to view]
AddThis Social Bookmark Button