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. General Programming
  3. C#
  4. Help regarding crystal reports

Help regarding crystal reports

Scheduled Pinned Locked Moved C#
databasedesignhelpquestion
4 Posts 3 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
    mrcsn
    wrote on last edited by
    #1

    Hi , i am able to create static crystal reports , but i want to create reports based on user input. I have to provide UI to select between two dates and some other options . i want to get data from databse (sql 2005) based on these query ... can any one suggest me how can i do : this (samples or Links ) Thanks csn.

    R A 2 Replies Last reply
    0
    • M mrcsn

      Hi , i am able to create static crystal reports , but i want to create reports based on user input. I have to provide UI to select between two dates and some other options . i want to get data from databse (sql 2005) based on these query ... can any one suggest me how can i do : this (samples or Links ) Thanks csn.

      R Offline
      R Offline
      rapidtech
      wrote on last edited by
      #2

      That thing will depend upon the version of Crystal Report you are using. In Crystal report 11, the method is, go to "Field Explorer". you have the option "Parameter Fields". Create a new parameter with datatype date time. for eg. "Startdate" & "EndDate". Now go to menu Report --> Select Expert. It will ask you to select the field. Assuming that the field you have to use is "DateofBirth", select this field. Now a window will open & it will ask you for selecting a option, as for date, you will select "is between", then it will ask you the two values. Select the parameter field you have created earlier & click ok its done. Now see the preview it will ask you for input parameters. Good luck :)

      M 1 Reply Last reply
      0
      • M mrcsn

        Hi , i am able to create static crystal reports , but i want to create reports based on user input. I have to provide UI to select between two dates and some other options . i want to get data from databse (sql 2005) based on these query ... can any one suggest me how can i do : this (samples or Links ) Thanks csn.

        A Offline
        A Offline
        Anoop Unnikrishnan
        wrote on last edited by
        #3

        You need to create parameters in crystal report. Google Push and Pull method in ASP.NET with Crystal Report. Cheers Anoop

        1 Reply Last reply
        0
        • R rapidtech

          That thing will depend upon the version of Crystal Report you are using. In Crystal report 11, the method is, go to "Field Explorer". you have the option "Parameter Fields". Create a new parameter with datatype date time. for eg. "Startdate" & "EndDate". Now go to menu Report --> Select Expert. It will ask you to select the field. Assuming that the field you have to use is "DateofBirth", select this field. Now a window will open & it will ask you for selecting a option, as for date, you will select "is between", then it will ask you the two values. Select the parameter field you have created earlier & click ok its done. Now see the preview it will ask you for input parameters. Good luck :)

          M Offline
          M Offline
          mrcsn
          wrote on last edited by
          #4

          Hi , Thnaks for you reply ..., i will try this ...

          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