Tuesday, March 27, 2012
customize the table format
how can I customize the table format so every third row
is divided by a solid line? is that even possible in reporting service? I
don't know what to do to make it happen."Britney" <britneychen_2001@.yahoo.com> wrote in message news:<#xmtlxnzEHA.824@.TK2MSFTNGP11.phx.gbl>...
> I don't want every row divided by a solid line,
> how can I customize the table format so every third row
> is divided by a solid line? is that even possible in reporting service? I
> don't know what to do to make it happen.
Hi Britney,
You can customize the table format in reporting services.
To have every third row divided by a solid line, the Borderstyle of
the textboxes inside the table have to be set based on the following
expression
=iif((RowNumber("DataSet1") mod 3=0),"Solid","None")
where DataSet1 is the dataset name you are going to use..
Hope this helps you.
Cheers,
Prathima.C|||YES, it worked partially,
the table looked pretty ugly now.
but I want the format with one line only. is that possible?
______________
1 3 4 5
1 4 5 5
2 4 5 6
______________
1 3 4 5
1 4 5 5
2 4 5 6
______________
.........
..........
"Prathima" <prathima.chandramouli@.gmail.com> wrote in message
news:f941b84.0411220300.5888d832@.posting.google.com...
> "Britney" <britneychen_2001@.yahoo.com> wrote in message
news:<#xmtlxnzEHA.824@.TK2MSFTNGP11.phx.gbl>...
> > I don't want every row divided by a solid line,
> > how can I customize the table format so every third row
> > is divided by a solid line? is that even possible in reporting service?
I
> > don't know what to do to make it happen.
> Hi Britney,
> You can customize the table format in reporting services.
> To have every third row divided by a solid line, the Borderstyle of
> the textboxes inside the table have to be set based on the following
> expression
> =iif((RowNumber("DataSet1") mod 3=0),"Solid","None")
> where DataSet1 is the dataset name you are going to use..
> Hope this helps you.
> Cheers,
> Prathima.C|||Can u please define the problem more clearly so that i can help u. I'm
not able to get your problem correctly.
"Britney" <britneychen_2001@.yahoo.com> wrote in message news:<u8ELx2K0EHA.3976@.TK2MSFTNGP09.phx.gbl>...
> YES, it worked partially,
> the table looked pretty ugly now.
> but I want the format with one line only. is that possible?
>
> ______________
> 1 3 4 5
> 1 4 5 5
> 2 4 5 6
> ______________
> 1 3 4 5
> 1 4 5 5
> 2 4 5 6
> ______________
> .........
> ..........
>
> "Prathima" <prathima.chandramouli@.gmail.com> wrote in message
> news:f941b84.0411220300.5888d832@.posting.google.com...
> > "Britney" <britneychen_2001@.yahoo.com> wrote in message
> news:<#xmtlxnzEHA.824@.TK2MSFTNGP11.phx.gbl>...
> > > I don't want every row divided by a solid line,
> > > how can I customize the table format so every third row
> > > is divided by a solid line? is that even possible in reporting service?
> I
> > > don't know what to do to make it happen.
> >
> > Hi Britney,
> >
> > You can customize the table format in reporting services.
> > To have every third row divided by a solid line, the Borderstyle of
> > the textboxes inside the table have to be set based on the following
> > expression
> >
> > =iif((RowNumber("DataSet1") mod 3=0),"Solid","None")
> >
> > where DataSet1 is the dataset name you are going to use..
> > Hope this helps you.
> > Cheers,
> > Prathima.C|||never mind, I figured it out.
your logic is correct, I specified it in default input of border style, it
draw all the four lines (top, bottom, left ,right) as solid lines, but I
really should just specify it on "bottom" input box of border style.
thanks for your help
"Prathima" <prathima.chandramouli@.gmail.com> wrote in message
news:f941b84.0411232053.66adc74d@.posting.google.com...
> Can u please define the problem more clearly so that i can help u. I'm
> not able to get your problem correctly.
>
>
> "Britney" <britneychen_2001@.yahoo.com> wrote in message
news:<u8ELx2K0EHA.3976@.TK2MSFTNGP09.phx.gbl>...
> > YES, it worked partially,
> >
> > the table looked pretty ugly now.
> >
> > but I want the format with one line only. is that possible?
> >
> >
> >
> > ______________
> > 1 3 4 5
> > 1 4 5 5
> > 2 4 5 6
> > ______________
> > 1 3 4 5
> > 1 4 5 5
> > 2 4 5 6
> > ______________
> > .........
> > ..........
> >
> >
> >
> > "Prathima" <prathima.chandramouli@.gmail.com> wrote in message
> > news:f941b84.0411220300.5888d832@.posting.google.com...
> > > "Britney" <britneychen_2001@.yahoo.com> wrote in message
> > news:<#xmtlxnzEHA.824@.TK2MSFTNGP11.phx.gbl>...
> > > > I don't want every row divided by a solid line,
> > > > how can I customize the table format so every third row
> > > > is divided by a solid line? is that even possible in reporting
service?
> > I
> > > > don't know what to do to make it happen.
> > >
> > > Hi Britney,
> > >
> > > You can customize the table format in reporting services.
> > > To have every third row divided by a solid line, the Borderstyle of
> > > the textboxes inside the table have to be set based on the following
> > > expression
> > >
> > > =iif((RowNumber("DataSet1") mod 3=0),"Solid","None")
> > >
> > > where DataSet1 is the dataset name you are going to use..
> > > Hope this helps you.
> > > Cheers,
> > > Prathima.C
Thursday, March 22, 2012
custom xml data type
CREATE TYPE myOwnXMLType FROM xml;
Msg 15226, Level 16, State 1, Line 1
Cannot create user defined types from an XML datatype.
Is there anything I can do ? Other types work fine (int, nvarchar(max)
etc.). I use SQL Server 2005 Standard Edition.
Alex Voit wrote:
> When I try to create a custom xml datatype I get the following error:
> CREATE TYPE myOwnXMLType FROM xml;
> Msg 15226, Level 16, State 1, Line 1
> Cannot create user defined types from an XML datatype.
> Is there anything I can do ? Other types work fine (int, nvarchar(max)
> etc.). I use SQL Server 2005 Standard Edition.
The documentation lists the following allowed base types:
bigint
binary(n)
bit
char(n)
datetime
decimal
float
image
int
money
nchar(n)
ntext
numeric
nvarchar(n | max)
real
smalldatetime
smallint
smallmoney
sql_variant
text
tinyint
uniqueidentifier
varbinary(n | max)
varchar(n | max)
The xml data type is not listed as an allowed base type for CREATE TYPE
FROM.
Martin Honnen -- MVP XML
http://JavaScript.FAQTs.com/
|||We did not allow CREATE TYPE on the XML datatype. Please file a request at
http://connect.microsoft.com/sqlserver/feedback if this is a functionality
that you need.
Best regards
Michael
"Martin Honnen" <mahotrash@.yahoo.de> wrote in message
news:euWAnmrpHHA.4196@.TK2MSFTNGP06.phx.gbl...
> Alex Voit wrote:
> The documentation lists the following allowed base types:
> bigint
> binary(n)
> bit
> char(n)
> datetime
> decimal
> float
> image
> int
> money
> nchar(n)
> ntext
> numeric
> nvarchar(n | max)
> real
> smalldatetime
> smallint
> smallmoney
> sql_variant
> text
> tinyint
> uniqueidentifier
> varbinary(n | max)
> varchar(n | max)
>
> The xml data type is not listed as an allowed base type for CREATE TYPE
> FROM.
>
> --
> Martin Honnen -- MVP XML
> http://JavaScript.FAQTs.com/
custom xml data type
CREATE TYPE myOwnXMLType FROM xml;
Msg 15226, Level 16, State 1, Line 1
Cannot create user defined types from an XML datatype.
Is there anything I can do ? Other types work fine (int, nvarchar(max)
etc.). I use SQL Server 2005 Standard Edition.Alex Voit wrote:
> When I try to create a custom xml datatype I get the following error:
> CREATE TYPE myOwnXMLType FROM xml;
> Msg 15226, Level 16, State 1, Line 1
> Cannot create user defined types from an XML datatype.
> Is there anything I can do ? Other types work fine (int, nvarchar(max)
> etc.). I use SQL Server 2005 Standard Edition.
The documentation lists the following allowed base types:
bigint
binary(n)
bit
char(n)
datetime
decimal
float
image
int
money
nchar(n)
ntext
numeric
nvarchar(n | max)
real
smalldatetime
smallint
smallmoney
sql_variant
text
tinyint
uniqueidentifier
varbinary(n | max)
varchar(n | max)
The xml data type is not listed as an allowed base type for CREATE TYPE
FROM.
Martin Honnen -- MVP XML
http://JavaScript.FAQTs.com/|||We did not allow CREATE TYPE on the XML datatype. Please file a request at
http://connect.microsoft.com/sqlserver/feedback if this is a functionality
that you need.
Best regards
Michael
"Martin Honnen" <mahotrash@.yahoo.de> wrote in message
news:euWAnmrpHHA.4196@.TK2MSFTNGP06.phx.gbl...
> Alex Voit wrote:
> The documentation lists the following allowed base types:
> bigint
> binary(n)
> bit
> char(n)
> datetime
> decimal
> float
> image
> int
> money
> nchar(n)
> ntext
> numeric
> nvarchar(n | max)
> real
> smalldatetime
> smallint
> smallmoney
> sql_variant
> text
> tinyint
> uniqueidentifier
> varbinary(n | max)
> varchar(n | max)
>
> The xml data type is not listed as an allowed base type for CREATE TYPE
> FROM.
>
> --
> Martin Honnen -- MVP XML
> http://JavaScript.FAQTs.com/
Wednesday, March 7, 2012
Custom error msg breaks my error handler
Hi,
I added this line of code to my error handler script, in red.
User:
criptError is a package-level string variable
User:
criptError has a value assigned to it when another script encounters an error condition (which I define)
I added "User:
criptError" as a read-only variable to the error handler script task.
Public Sub Main()
Dim messages As Collections.ArrayList
Try
messages = CType(Dts.Variables("errorMessages").Value, Collections.ArrayList)
Catch ex As Exception
messages = New Collections.ArrayList()
End Try
messages.Add(Dts.Variables("SourceName").Value.ToString)
messages.Add(Dts.Variables("ErrorDescription").Value.ToString())
messages.Add(Dts.Variables("scriptError").Value.ToString)
Dts.Variables("errorMessages").Value = messages
Dts.TaskResult = Dts.Results.Success
End Sub
Now, when I run the package, and an it encounters an error, it task just hangs, that is, it stays yellow instead of turning red... if I remove the line in red above, it works ok again.
Why would this line cause a problem?
Thanks
Make sure you are unlocking the scriptError variable in the first task. It might help if you post the script from that task.|||Hi,
What do you mean by "unlocking the scriptError variable"?
Thanks
|||Dts.Variables.Unlock()|||I will try that. Why is unlocking necessary? I've never run into this before.
Thanks
|||If the first task is raising an error, the error handling task can be fired before the variable is unlocked in the first task. Make sure that you unlock it in the error handler in the first script.|||This is the part of my code that seems to be causing the problem. I am trying to set the "scriptError" variable to the error message below. As you can see, I am setting the Dts.TaskResult to "failure" BEFORE assigning the value to my variable. The "failure" causes execution to go to my Error Handler script task. That's where it hangs.
Perhaps I should put the the "failure" AFTER the variable assignment.
I don't understand all this "unlocking" stuff quite yet. What do you mean by "unlock it in the error handler"? Perhaps that doesn't apply here, I don't know.
Thanks
Else
Dts.TaskResult = Dts.Results.Failure
Dts.Variables("scriptError").Value = "The extracts in " & CStr(Dts.Variables("Folder").Value) & " are not current! Data NOT loaded."
End If
|||AddingDts.Variables.Unlock()
right after the variable is written to (but not before) works!
Custom error msg breaks my error handler
Hi,
I added this line of code to my error handler script, in red.
User:
criptError is a package-level string variable
User:
criptError has a value assigned to it when another script encounters an error condition (which I define)
I added "User:
criptError" as a read-only variable to the error handler script task.
Public Sub Main()
Dim messages As Collections.ArrayList
Try
messages = CType(Dts.Variables("errorMessages").Value, Collections.ArrayList)
Catch ex As Exception
messages = New Collections.ArrayList()
End Try
messages.Add(Dts.Variables("SourceName").Value.ToString)
messages.Add(Dts.Variables("ErrorDescription").Value.ToString())
messages.Add(Dts.Variables("scriptError").Value.ToString)
Dts.Variables("errorMessages").Value = messages
Dts.TaskResult = Dts.Results.Success
End Sub
Now, when I run the package, and an it encounters an error, it task just hangs, that is, it stays yellow instead of turning red... if I remove the line in red above, it works ok again.
Why would this line cause a problem?
Thanks
Make sure you are unlocking the scriptError variable in the first task. It might help if you post the script from that task.|||Hi,
What do you mean by "unlocking the scriptError variable"?
Thanks
|||Dts.Variables.Unlock()|||I will try that. Why is unlocking necessary? I've never run into this before.
Thanks
|||If the first task is raising an error, the error handling task can be fired before the variable is unlocked in the first task. Make sure that you unlock it in the error handler in the first script.|||This is the part of my code that seems to be causing the problem. I am trying to set the "scriptError" variable to the error message below. As you can see, I am setting the Dts.TaskResult to "failure" BEFORE assigning the value to my variable. The "failure" causes execution to go to my Error Handler script task. That's where it hangs.
Perhaps I should put the the "failure" AFTER the variable assignment.
I don't understand all this "unlocking" stuff quite yet. What do you mean by "unlock it in the error handler"? Perhaps that doesn't apply here, I don't know.
Thanks
Else
Dts.TaskResult = Dts.Results.Failure
Dts.Variables("scriptError").Value = "The extracts in " & CStr(Dts.Variables("Folder").Value) & " are not current! Data NOT loaded."
End If
|||AddingDts.Variables.Unlock()
right after the variable is written to (but not before) works!
Custom error msg breaks my error handler
Hi,
I added this line of code to my error handler script, in red.
User:
criptError is a package-level string variable
User:
criptError has a value assigned to it when another script encounters an error condition (which I define)
I added "User:
criptError" as a read-only variable to the error handler script task.
Public Sub Main()
Dim messages As Collections.ArrayList
Try
messages = CType(Dts.Variables("errorMessages").Value, Collections.ArrayList)
Catch ex As Exception
messages = New Collections.ArrayList()
End Try
messages.Add(Dts.Variables("SourceName").Value.ToString)
messages.Add(Dts.Variables("ErrorDescription").Value.ToString())
messages.Add(Dts.Variables("scriptError").Value.ToString)
Dts.Variables("errorMessages").Value = messages
Dts.TaskResult = Dts.Results.Success
End Sub
Now, when I run the package, and an it encounters an error, it task just hangs, that is, it stays yellow instead of turning red... if I remove the line in red above, it works ok again.
Why would this line cause a problem?
Thanks
Make sure you are unlocking the scriptError variable in the first task. It might help if you post the script from that task.|||Hi,
What do you mean by "unlocking the scriptError variable"?
Thanks
|||Dts.Variables.Unlock()|||I will try that. Why is unlocking necessary? I've never run into this before.
Thanks
|||If the first task is raising an error, the error handling task can be fired before the variable is unlocked in the first task. Make sure that you unlock it in the error handler in the first script.|||This is the part of my code that seems to be causing the problem. I am trying to set the "scriptError" variable to the error message below. As you can see, I am setting the Dts.TaskResult to "failure" BEFORE assigning the value to my variable. The "failure" causes execution to go to my Error Handler script task. That's where it hangs.
Perhaps I should put the the "failure" AFTER the variable assignment.
I don't understand all this "unlocking" stuff quite yet. What do you mean by "unlock it in the error handler"? Perhaps that doesn't apply here, I don't know.
Thanks
Else
Dts.TaskResult = Dts.Results.Failure
Dts.Variables("scriptError").Value = "The extracts in " & CStr(Dts.Variables("Folder").Value) & " are not current! Data NOT loaded."
End If
|||AddingDts.Variables.Unlock()
right after the variable is written to (but not before) works!
Friday, February 24, 2012
custom code: [BC30205]
"There is an error on line 3 of custom code: [BC30205] End of statement
expected."
I really don't see it, but then I am new to this, so any help would be
appreciated...
Public Shared Function SetBgColor(ByVal Value1 As String, ByVal Value2
As String) As String
If Value1 = "Overdue" And Value2 Like "*" Then
SetBgColor = "DarkGray"
ElseIf Value1 "Open" And Value2 Like "*Antivirus*" Then
SetBgColor = "Silver"
Else
SetBgColor = "White"
End If
End Function
In the Expression for BackgroundColor I have:
=Code.SetBgColor(Fields!Status.Value,Fields!Type.Value)you might try single quotes instead of double quotes
"d4" <d4mann@.gmail.com> wrote in message
news:1154530967.090464.150580@.i42g2000cwa.googlegroups.com...
> I'm trying to get the following custom code to work but get the error:
> "There is an error on line 3 of custom code: [BC30205] End of statement
> expected."
> I really don't see it, but then I am new to this, so any help would be
> appreciated...
> Public Shared Function SetBgColor(ByVal Value1 As String, ByVal Value2
> As String) As String
> If Value1 = "Overdue" And Value2 Like "*" Then
> SetBgColor = "DarkGray"
> ElseIf Value1 "Open" And Value2 Like "*Antivirus*" Then
> SetBgColor = "Silver"
> Else
> SetBgColor = "White"
> End If
> End Function
> In the Expression for BackgroundColor I have:
> =Code.SetBgColor(Fields!Status.Value,Fields!Type.Value)
>|||and a question to you. If I wanted to use something like that, where would
I put it? I am new at this.
"d4" <d4mann@.gmail.com> wrote in message
news:1154530967.090464.150580@.i42g2000cwa.googlegroups.com...
> I'm trying to get the following custom code to work but get the error:
> "There is an error on line 3 of custom code: [BC30205] End of statement
> expected."
> I really don't see it, but then I am new to this, so any help would be
> appreciated...
> Public Shared Function SetBgColor(ByVal Value1 As String, ByVal Value2
> As String) As String
> If Value1 = "Overdue" And Value2 Like "*" Then
> SetBgColor = "DarkGray"
> ElseIf Value1 "Open" And Value2 Like "*Antivirus*" Then
> SetBgColor = "Silver"
> Else
> SetBgColor = "White"
> End If
> End Function
> In the Expression for BackgroundColor I have:
> =Code.SetBgColor(Fields!Status.Value,Fields!Type.Value)
>|||No good.
Public Shared Function SetBgColor(ByVal Value1 As String, ByVal Value2
As String) As String
If Value1 = 'Overdue' And Value2 Like '*' Then
SetBgColor = 'DarkGray'
ElseIf Value1 'Open' And Value2 Like '*Antivirus*' Then
SetBgColor = 'Silver'
Else
SetBgColor = 'White'
End If
End Function
I get - There is an error on line 1 of custom code: [BC30201]
Expression expected.|||You are missing an equals sign after the elseif.
Public Shared Function SetBgColor(ByVal Value1 As String, ByVal Value2
As String) As String
If Value1 = "Overdue" And Value2 Like "*" Then
SetBgColor = "DarkGray"
ElseIf Value1 = "Open" And Value2 Like "*Antivirus*" Then
SetBgColor = "Silver"
Else
SetBgColor = "White"
End If
End Function
d4 wrote:
> I'm trying to get the following custom code to work but get the error:
> "There is an error on line 3 of custom code: [BC30205] End of statement
> expected."
> I really don't see it, but then I am new to this, so any help would be
> appreciated...
> Public Shared Function SetBgColor(ByVal Value1 As String, ByVal Value2
> As String) As String
> If Value1 = "Overdue" And Value2 Like "*" Then
> SetBgColor = "DarkGray"
> ElseIf Value1 "Open" And Value2 Like "*Antivirus*" Then
> SetBgColor = "Silver"
> Else
> SetBgColor = "White"
> End If
> End Function
> In the Expression for BackgroundColor I have:
> =Code.SetBgColor(Fields!Status.Value,Fields!Type.Value)|||Doh! Its always the simple things. Sorry I overlooked it. Hate it when
you stare at something so hard and can't see it! Works now, thanks.|||I dont know enough about these to really be giving advice, but should there
be a space between end and if? Not sure.
"d4" <d4mann@.gmail.com> wrote in message
news:1154534398.002010.56110@.m79g2000cwm.googlegroups.com...
> No good.
> Public Shared Function SetBgColor(ByVal Value1 As String, ByVal Value2
> As String) As String
> If Value1 = 'Overdue' And Value2 Like '*' Then
> SetBgColor = 'DarkGray'
> ElseIf Value1 'Open' And Value2 Like '*Antivirus*' Then
> SetBgColor = 'Silver'
> Else
> SetBgColor = 'White'
> End If
> End Function
> I get - There is an error on line 1 of custom code: [BC30201]
> Expression expected.
>|||It's no problem. I usually just paste the stuff into a VS2003 VB App
and let it tell me where things are wrong (if i can't find it).
Regards,
Dan
d4 wrote:
> Doh! Its always the simple things. Sorry I overlooked it. Hate it when
> you stare at something so hard and can't see it! Works now, thanks.|||If what you show is exactly how your custom code is written, it looks
like you're missing an equal sign between Value1 and "Open" in your
ElseIf line. If that's not it, I don't see a problem (but then again
I'm a SQL guy, not VB). Good luck
toolman
d4 wrote:
> I'm trying to get the following custom code to work but get the error:
> "There is an error on line 3 of custom code: [BC30205] End of statement
> expected."
> I really don't see it, but then I am new to this, so any help would be
> appreciated...
> Public Shared Function SetBgColor(ByVal Value1 As String, ByVal Value2
> As String) As String
> If Value1 = "Overdue" And Value2 Like "*" Then
> SetBgColor = "DarkGray"
> ElseIf Value1 "Open" And Value2 Like "*Antivirus*" Then
> SetBgColor = "Silver"
> Else
> SetBgColor = "White"
> End If
> End Function
> In the Expression for BackgroundColor I have:
> =Code.SetBgColor(Fields!Status.Value,Fields!Type.Value)
Friday, February 17, 2012
cursors problem
Msg 16933, Level 16, State 1, Procedure RmDupValWSWCode, Line 39
The cursor does not include the table being modified or the table is not
updatable through the cursor.
I have two databases with same tables, in one database it work on that table
but in another database its not working on the same table with the same
data......
why cursor behave like thatHello!
Could you post your code?
Thanks!|||Since you haven't posted the code. I am guessing :)
are you using the two part name where ever you refer to the table.
I mean refer to all the table names as
dbo.table1
or whichever schema you are using.
Hope this helps.|||Also, make sure the user running the stored procedure has access to the
tables.
"Omnibuzz" <Omnibuzz@.discussions.microsoft.com> wrote in message
news:2919D9C0-492D-4582-89B0-BEDABA2B0E6E@.microsoft.com...
> Since you haven't posted the code. I am guessing :)
> are you using the two part name where ever you refer to the table.
> I mean refer to all the table names as
> dbo.table1
> or whichever schema you are using.
> Hope this helps.|||Hey Jim..
long time no clashes.. was missing you :)
"Jim Underwood" wrote:
> Also, make sure the user running the stored procedure has access to the
> tables.
> "Omnibuzz" <Omnibuzz@.discussions.microsoft.com> wrote in message
> news:2919D9C0-492D-4582-89B0-BEDABA2B0E6E@.microsoft.com...
>
>|||Lol. Yeah, you missed an entire day last w
. All day long I was lookingfor some posts from you. You usually have a few creative and thought
provoking solutions. I think today's is the negative flag * 2 +1 to get
either a positive or negative number. I had to get some caffeine before I
could figure it out.
Actually, I was hoping to see if you had a mathematical formula to solve the
matrix (Matriz) problem posted yesterday. The best I could come up with was
a mapping table. I couldn't seem to find a mathematical approach to the
problem, so I went with simple brute force.
"Omnibuzz" <Omnibuzz@.discussions.microsoft.com> wrote in message
news:6FEE9DDC-CEBC-46B8-8AE1-17E1CCEE47A1@.microsoft.com...
> Hey Jim..
> long time no clashes.. was missing you :)
> "Jim Underwood" wrote:
>|||Gee...Thanks for the complments..
Well network was down yesterday.. and didn't see the post on matrix.. will
look into it now :)
"Jim Underwood" wrote:
> Lol. Yeah, you missed an entire day last w
. All day long I was looking
> for some posts from you. You usually have a few creative and thought
> provoking solutions. I think today's is the negative flag * 2 +1 to get
> either a positive or negative number. I had to get some caffeine before I
> could figure it out.
> Actually, I was hoping to see if you had a mathematical formula to solve t
he
> matrix (Matriz) problem posted yesterday. The best I could come up with w
as
> a mapping table. I couldn't seem to find a mathematical approach to the
> problem, so I went with simple brute force.
> "Omnibuzz" <Omnibuzz@.discussions.microsoft.com> wrote in message
> news:6FEE9DDC-CEBC-46B8-8AE1-17E1CCEE47A1@.microsoft.com...
>
>
Tuesday, February 14, 2012
Custom Annotations on SRS 2000 charts
I would like to be able to put custom annotations on charts. Specifically I have a line chart I want to annotate. I don't want to indicate all plot points, just areas of interest. For example, on one of our line charts there is a value for a week (weeks are the x-Axis) that is way out of whack with other weeks. I would like to be able to display only that value, circle that location on the chart and create a custom note so that when the report displays, all users can see it.
All I've been able to find that I can customize on SRS line charts is to add all plot points and be able to change their shape and color and font size. I want to be able to do way more than that with annotations. Is it possible? I have .NET programming abilities so I'd be willing to write code to do it, I just can't find any examples of how I can write custom code to do things like this.
Thanks for any help!
Mary
You may need to look at a 3rd-party charting tool such as Dundas Charts for Reporting Services. Unfortunately these are only available with RS 2005.
cheers,
Andrew
|||We purchased Chart FX for Reporting Services and it works like a charm, but this is for RS2005 http://www.softwarefx.com/SfxSqlProducts/cfxReportingServices/ . But I think there is not a version for RS2000 anywhere in the market... Sorry I cannot help much on this one.