I am consolidating multiple reports into one and wish to set the formatting
on the cell dependent upon the data.
The following code does not work
= iif(Parameters!RevenueColumns.Value=1,
"#,#"
,"")
&
iif(Parameters!RevenueColumns.Value=2,
"N2"
,"")
&
iif(Parameters!RevenueColumns.Value=3,
"N2"
,"")
When RevenueColumns is 1, the number is being quoted to about 20 decimal
places.
There is nothing in 'format' for the column or row, this is the only place
where format is set. Even if I change it back to just "#,#" it is being
ignored but i know it is accepting changes as i have varied the colour. I
have also tried N0 as the format and also 0.0 but nothing seems to change it,
even changing it back to the original value has not solved the issue. I have
deleted and redeployed the report, cleared out my IE cache and rebooted but
to no avail.
Can anyone help?
thanksthe numeric and the two null strs are being converted to a string, on which
it is not able to perform the formatting
coerce my arce
"adolf garlic" wrote:
> I am consolidating multiple reports into one and wish to set the formatting
> on the cell dependent upon the data.
> The following code does not work
> => iif(Parameters!RevenueColumns.Value=1,
> "#,#"
> ,"")
> &
> iif(Parameters!RevenueColumns.Value=2,
> "N2"
> ,"")
> &
> iif(Parameters!RevenueColumns.Value=3,
> "N2"
> ,"")
> When RevenueColumns is 1, the number is being quoted to about 20 decimal
> places.
> There is nothing in 'format' for the column or row, this is the only place
> where format is set. Even if I change it back to just "#,#" it is being
> ignored but i know it is accepting changes as i have varied the colour. I
> have also tried N0 as the format and also 0.0 but nothing seems to change it,
> even changing it back to the original value has not solved the issue. I have
> deleted and redeployed the report, cleared out my IE cache and rebooted but
> to no avail.
> Can anyone help?
> thanks
Showing posts with label upon. Show all posts
Showing posts with label upon. Show all posts
Sunday, February 26, 2012
Sunday, February 19, 2012
Form to create formula
Is it possible to create a form / pop up table for users to input criteria to search upon.
I am trying to set up a template to search, for example, for serial numbers where {contsupp.contact} = "serial number" (with other set criteria)is it possible to have this set up for users who are not familiar with crystal reporting so that they are prompted to insert a serial nuimber #1234 in a field which then populates the "serial number" area and runs the search?If you create a parameter field, you can set it in the select expert as the field you want (so, for example if you have serialnumber as a field, the parameter field (?serial) would be set up to use that field and then in the select expert you would select
{whatevertable.serialnumber}=?serial
Then, the crystal viewer will pop up a parameter select form automatically.
I am trying to set up a template to search, for example, for serial numbers where {contsupp.contact} = "serial number" (with other set criteria)is it possible to have this set up for users who are not familiar with crystal reporting so that they are prompted to insert a serial nuimber #1234 in a field which then populates the "serial number" area and runs the search?If you create a parameter field, you can set it in the select expert as the field you want (so, for example if you have serialnumber as a field, the parameter field (?serial) would be set up to use that field and then in the select expert you would select
{whatevertable.serialnumber}=?serial
Then, the crystal viewer will pop up a parameter select form automatically.
Subscribe to:
Posts (Atom)