Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. To set image for the condition in crystal report

To set image for the condition in crystal report

Scheduled Pinned Locked Moved ASP.NET
helptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JC KaNNaN
    wrote on last edited by
    #1

    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"

    T 1 Reply Last reply
    0
    • J JC KaNNaN

      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"

      T Offline
      T Offline
      tronix01
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups