Hello,
I have a problem formating a line in a diagram in SSRS 2005. I want to
change the color of the line depending on a value on the x-axis.
I always get an exception that the bordercolor expression for the diagram
Object 'Bestandsentwicklung.DataPoint' contains an error. The entry string
has the wrong format.

The function is the following:
=IIF(Parameters!CurrentWeek.Value.ToString >
cdbl(Fields!DimZeit_WocheTag_Woche_MEMBER_KEY.Value.ToString),"Firebrick","Blue")
whereby the parameter currentweek should return a number and the field
DimZeit_WocheTag_Woche_MEMBER_KEY, too.

Can anyone help me? How do I have to convert the values to solve the problem?
Stefan