To set image for the condition in crystal report
-
HI all, I'm working with crystal report.i have generated report successfully by using dataset.In that i have few columns that populates True Or False value. the thing is i want to set one image(say red colour) if the value is 'true' and another image(say green colour) if it is 'false'.. how can i do this, In using crystalreport in web appliction.... I know that there is some way to set the ' if- else' condition, But i don't know how to do it. Please help me..
Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph"
-
HI all, I'm working with crystal report.i have generated report successfully by using dataset.In that i have few columns that populates True Or False value. the thing is i want to set one image(say red colour) if the value is 'true' and another image(say green colour) if it is 'false'.. how can i do this, In using crystalreport in web appliction.... I know that there is some way to set the ' if- else' condition, But i don't know how to do it. Please help me..
Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph"
just right-click to the "picture-field" and click format object, then click general and check suspend. after that, press the x-2 button and write the a formel like that in it:
if ({myBoolField} = true) then false else true;
that means: if myBoolField = true don't suspend the "picture-field", else suspend the "picture-field" see also: http://msdn.microsoft.com/en-us/library/ms225356%28VS.80%29.aspx[^] hope this helps