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 11 Best Data Source

Crystal Report 11 Best Data Source

Scheduled Pinned Locked Moved ASP.NET
databaseperformancehelpquestion
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.
  • I Offline
    I Offline
    idreesbadshah
    wrote on last edited by
    #1

    Data Source of Crystal Report 11 Can be a Dataset or store procedure.Can any one tell me which one is better.Either fetch data from Database and fill it in dataset and assign it to crystal report or give crystal report datasource direct to store procedure.? Please explain benifits and draw backs of them And what about speed issue.If Crystal report has data soure stored procedure will be loaded fast or Report having datasource Dataset will be loded fast?

    J 1 Reply Last reply
    0
    • I idreesbadshah

      Data Source of Crystal Report 11 Can be a Dataset or store procedure.Can any one tell me which one is better.Either fetch data from Database and fill it in dataset and assign it to crystal report or give crystal report datasource direct to store procedure.? Please explain benifits and draw backs of them And what about speed issue.If Crystal report has data soure stored procedure will be loaded fast or Report having datasource Dataset will be loded fast?

      J Offline
      J Offline
      jbracken1973
      wrote on last edited by
      #2

      I would lean towards a SP, that is what I use on all reports. If you decide to use SP, I would suggest that you would use a SP in each of your reports. This makes working with reports especially nicer if you are working with Infoview/Business objects. The only downside that I can think of is the limitation of is passing multiple values in a parameter from Crystal to the SP, a work around is to parse a comma separated strings. I don’t care to have a Crystal Record selection with a SP it seems redundant and a waste of resources. I can probably think of quite few pros for using a SP but I will just list a few: 1. You have more control of data result, there are many data routines that just is not efficient to try to do in one query statement. 2. You separate your data logic from your report design. Many time I will provide the data and someone else will write the report. 3. If you decide that you don’t like Crystal anymore and you will likely have an easier time with a conversion. 4. You control how the query is written thus if you have performance issues later you can adjust the query without even opening the report. 5. Without go in situations, you also can have a Crystal report execute a SP and that SP updates other tables. I hope this helps John

      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