Showing posts with label appears. Show all posts
Showing posts with label appears. Show all posts

Sunday, March 11, 2012

Currency Format

The $ must appears only on certain total levels and has to be in the same position in the column regardless of the value for financial reporting. In other words, I don't want the $ to float next the most significant digit in the value. See the example below from Excel. Using an IIF statement I can concatenate the $ to the string when it is a certain group level. However, I have tried many various formatting strings but can't find one that results in a fixed number of characters so that the $ will always appears in the same position in the column.

Anyone have a way to do this?

General Government

222

3.45%

$ 405,590,654

1.98%

Public Buildings

194

3.01%

375,453,314

1.83%

Other Facilities

22

0.34%

21,324,140

0.1%

Property Acquisition

6

0.09%

8,813,200

0.04%

Grand Total

6,439

100.0%

$ 20,507,977,298

100.0%

I did get this to work by adding a column to the grouping. That somehow causes the heading size to increase (?) and takes much more time than coding a format code in an expression (I have many reports to do).

Can you try something like this in your field's expression:

="$" & Space(30 - len(Fields!Total.Value)) & Fields!Total.Value

The 30 in my example would have to be higher than the maximum number of digits in your Total field. This will put spaces between the $ and the actual number you are showing, but only enough to make the $ symbols align.

Hope this helps.

Jarret

|||

This is close, but the proportional font keeps the $ from lining up.

I am not a VB programmer so I have a little trouble finding the appropriate string and format functions.

Thanks for your reply.

|||

Could you change to a fixed-width font so that it would line up?

Or, you could add a column to the left of the field that has the $ symbol in it, but only for the group header and footer. This way, it would always line up.

Jarret

|||

I did the add a column and it causes the group headers to grow and be ugly. I am hoping for a solution where I can code something in the expression. If not, I may have someone code me a little VB routine to use.

Thanks.

Tuesday, February 14, 2012

CSS borders

Hi,
I was wondering if it's possible to change the color of the gray border that
appears around the reportviewer window when viewing through a browser. I
would like to change this to navy blue to match my company's color scheme
but all I'm able to do through the style sheet is add a blue border on the
inside but you still see the gray border on the outside of it. Is this
possible and what style sheet element would I edit?
Also is it possible to have a blue border only around the toolbar? I see two
elements in the css, .ToolbarFrameWithParametersCollapsed &
.ToolbarFrameWithParametersVisible - neither of them seem to change anything
(and the parameters bar is hidden) Thank you.I figured the first part out about the gray border, the border was set to
gray 1px in my reportviewer component. But I was still wondering about
having a border only around the toolbar. thanks.
"Mark" <idroppeddabomb@.hotmail.com> wrote in message
news:O4okozThEHA.712@.TK2MSFTNGP09.phx.gbl...
> Hi,
> I was wondering if it's possible to change the color of the gray border
that
> appears around the reportviewer window when viewing through a browser. I
> would like to change this to navy blue to match my company's color scheme
> but all I'm able to do through the style sheet is add a blue border on the
> inside but you still see the gray border on the outside of it. Is this
> possible and what style sheet element would I edit?
> Also is it possible to have a blue border only around the toolbar? I see
two
> elements in the css, .ToolbarFrameWithParametersCollapsed &
> .ToolbarFrameWithParametersVisible - neither of them seem to change
anything
> (and the parameters bar is hidden) Thank you.
>|||In SP1, you can customize the HTML viewer toolbar with your own stylesheet.
See the SP1 Readme for more details.
--
Bryan Keller
Developer Documentation
SQL Server Reporting Services
A friendly reminder that this posting is provided "AS IS" with no
warranties, and confers no rights.
"Mark" <idroppeddabomb@.hotmail.com> wrote in message
news:etqKo9ThEHA.3932@.TK2MSFTNGP09.phx.gbl...
> I figured the first part out about the gray border, the border was set to
> gray 1px in my reportviewer component. But I was still wondering about
> having a border only around the toolbar. thanks.
>
> "Mark" <idroppeddabomb@.hotmail.com> wrote in message
> news:O4okozThEHA.712@.TK2MSFTNGP09.phx.gbl...
> > Hi,
> >
> > I was wondering if it's possible to change the color of the gray border
> that
> > appears around the reportviewer window when viewing through a browser. I
> > would like to change this to navy blue to match my company's color
scheme
> > but all I'm able to do through the style sheet is add a blue border on
the
> > inside but you still see the gray border on the outside of it. Is this
> > possible and what style sheet element would I edit?
> >
> > Also is it possible to have a blue border only around the toolbar? I see
> two
> > elements in the css, .ToolbarFrameWithParametersCollapsed &
> > .ToolbarFrameWithParametersVisible - neither of them seem to change
> anything
> > (and the parameters bar is hidden) Thank you.
> >
> >
>

crystalreportviewer in .NET different language?

When i show a report in a crystalreportviewer control,it appears those buttons,each with tool tips,also that "Main Report" text,can all this be modified ,to right something else?
for example in a aplication for countries that not use english,especially in europe,it should be all texts in different languages,so changing those texts.can this be modified?

Many thanks.Hi Jassie,

Did you solve that problem?

if yes, How?

I have the same problem,|||You may try this:

http://marian.ideaz.sk/crystal/