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. Dynamic (Runtime) Reports using Crystal Reports and DataSets

Dynamic (Runtime) Reports using Crystal Reports and DataSets

Scheduled Pinned Locked Moved C#
questioncsharpvisual-studiodesignhelp
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.
  • A Offline
    A Offline
    AesopTurtle
    wrote on last edited by
    #1

    Hi, I'm trying to create a report using Crystal Reports in VS.NET 2005 without explicitly creating a dataset at design time. Say... my dataset is created at runtime. Its contents depend on what a user specifies - different options, different datasets. What I'm trying to do is to link a blank report (created at design time) with the dataset (created at runtime). Is there anyway to do so? One more problem is if somehow the previous problem is solved, how can i design the report? (since there's no dataset at design time, so nothing to design). Thank you very much. KiT

    D 1 Reply Last reply
    0
    • A AesopTurtle

      Hi, I'm trying to create a report using Crystal Reports in VS.NET 2005 without explicitly creating a dataset at design time. Say... my dataset is created at runtime. Its contents depend on what a user specifies - different options, different datasets. What I'm trying to do is to link a blank report (created at design time) with the dataset (created at runtime). Is there anyway to do so? One more problem is if somehow the previous problem is solved, how can i design the report? (since there's no dataset at design time, so nothing to design). Thank you very much. KiT

      D Offline
      D Offline
      darkelv
      wrote on last edited by
      #2

      For designing the report you can use an xml as the schema. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/crystlmn/html/crconreportdataaccess.asp As for the first part of your question, if i am not understanding it wrongly, do you mean that that single report will going to show data with different schema base on user selecting the options? I wouldn't suggest you to do that. You should have different reports for each option, and generate the report according to the user's selection.

      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