Showing posts with label red. Show all posts
Showing posts with label red. Show all posts

Monday, March 26, 2012

Formatting text in Textbox

Is it possible to format one word in a text box to the color blue and another word in the SAME textbox to the color red?

Hello,

Sorry, but formatting is applied to the whole textbox. You can't format text differently within the same textbox.

Jarret

Monday, March 19, 2012

Formatting a portion of a String in a TextBox

I have a report that shows a string containing "wildcard" values. I
would like to be able to change the formatting (Bold, Italicized, Red)
for the wildcard values within the string. I've been examining the
conditional formatting functionality, but it seems only to apply to the
whole textbox value not a portion of it.
Has anyone tackled this before?
TIA,
EricI had similar issue when combining string and number field and solved it with
Format function:
=Fields!industry.Value & " (" & Format(Fields!marketPct.Value, "#0.0%") & ")"
You can probably something similar for color.
"Ferd Biffle" wrote:
> I have a report that shows a string containing "wildcard" values. I
> would like to be able to change the formatting (Bold, Italicized, Red)
> for the wildcard values within the string. I've been examining the
> conditional formatting functionality, but it seems only to apply to the
> whole textbox value not a portion of it.
> Has anyone tackled this before?
> TIA,
> Eric
>

Monday, March 12, 2012

formatting a field

I'm trying to format a text box color using an expression
= (Field!Name.Value < 0, "Red", "Black") but system send this error
The color expression for the textbox 'Field name' contains an error
[BC30451] name 'Iff' is not declared.
Please let me know what can I douse =Iif(Field!Name.Value < 0, "Red", "Black")
"Yoya" wrote:
> I'm trying to format a text box color using an expression
> = (Field!Name.Value < 0, "Red", "Black") but system send this error
> The color expression for the textbox 'Field name' contains an error
> [BC30451] name 'Iff' is not declared.
> Please let me know what can I do

Wednesday, March 7, 2012

Format question of text concatenation

I have a text like this '*'& Field!Item.Value. I would like to highlight the
asterisk '*' as red color and bold in order to make the end user notice it
easier.
How can I do it? Thanks for your help.you could have 2 textboxes adjacent to each other. the first one would show
the '*' and the second one could show the Field!item.value. You could then
set the first text color to red.|||Because the asterisk which is showing off are based on the value of Item
field. I can use two adjacent boxes to do it. I wonder if there is no way to
do it in one textbox?
Thanks,
"george" wrote:
> you could have 2 textboxes adjacent to each other. the first one would show
> the '*' and the second one could show the Field!item.value. You could then
> set the first text color to red.|||One way to do any special formatting of items in a textbox is with some
custom code. Maybe there is an easier way to do this, but if you just
created a function that showed or did not show the asterisk based on
the field value, you could then reference it in the textbox.|||A single textbox cannot display text in multiple colors. We will enable this
in a future version of Reporting Services via support for rich text.
--
Rajeev Karunakaran [MSFT]
Microsoft SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Sally" <Sally@.discussions.microsoft.com> wrote in message
news:99831223-41CE-4734-8E90-519A6FDCDDEC@.microsoft.com...
> Because the asterisk which is showing off are based on the value of Item
> field. I can use two adjacent boxes to do it. I wonder if there is no way
> to
> do it in one textbox?
> Thanks,
> "george" wrote:
>> you could have 2 textboxes adjacent to each other. the first one would
>> show
>> the '*' and the second one could show the Field!item.value. You could
>> then
>> set the first text color to red.

Sunday, February 19, 2012

format codes - font colours, background etc

can anyone point me in the direction of help and assistance in formatting
using expressions?
an example would be change font to red if negative
also to change the background colour matix when using the visibility options
many thanksDid you read this section in BOL? Among many other examples it contains an
example for formatting values red when the value is negative.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSCREATE/htm/rcr_creating_expressions_v1_571v.asp
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"jez_uk" <nospam@.nospam.com> wrote in message
news:uwfdvy3ZEHA.3016@.tk2msftngp13.phx.gbl...
> can anyone point me in the direction of help and assistance in formatting
> using expressions?
> an example would be change font to red if negative
> also to change the background colour matix when using the visibility
options
> many thanks
>