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. Crystal Report Problem

Crystal Report Problem

Scheduled Pinned Locked Moved ASP.NET
questionhelp
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.
  • M Offline
    M Offline
    M A A Mehedi Hasan
    wrote on last edited by
    #1

    Hello Everyone, I want to display columns in crystal report dynamically. Suppose I have col1,col2 and col3 in crystal report I want to show col1,col2 and col3 sometimes and col1 and col2 othertimes depending on some criteria. How can I accomplish this task? Please give me suggestion.

    Mehedi Hasan

    T 1 Reply Last reply
    0
    • M M A A Mehedi Hasan

      Hello Everyone, I want to display columns in crystal report dynamically. Suppose I have col1,col2 and col3 in crystal report I want to show col1,col2 and col3 sometimes and col1 and col2 othertimes depending on some criteria. How can I accomplish this task? Please give me suggestion.

      Mehedi Hasan

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

      You have to create Formula for the Fields.....The formula will be based on your criteria on which you want to display results or not.... Suppose you want nothing to show in Column1 if the Field1(to be shown in Column1) value is 0 then make a Formula.In Formula Editor under the "Suppress" Tab write the following Code.. If myTable.Field1='0' then true now if your query returns 0 in Field1 Column1 will be blank... But the thing to remember,though I am not very sure,is you probably cannot change the design of you report,I mean to say you cannot suppress Column1 with its Caption(if any) and other things....there will be a blank space...

      Tirtha Miles to go before I sleep

      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