Results 1 to 5 of 5

Thread: Problem displaying Dataset data in Crystal Report

Hybrid View

  1. #1
    Lively Member
    Join Date
    Oct 2006
    Posts
    71

    Re: Problem displaying Dataset data in Crystal Report

    Whenever I use DataSets (or business objects) for reports, I populate the data first and then pass it to the report. e.g.
    Code:
    // Create an instance of the report, and supply the data source.
    // QuickQuoteReport is a CR ReportClass.
    QuickQuoteReport report = new QuickQuoteReport();
    MyDataSet ds = Database.GetSomeData();
    report.SetDataSource(ds);
    HTH,
    Buoy

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2006
    Posts
    910

    Re: Problem displaying Dataset data in Crystal Report

    Buoy,
    Is that a dataset that you are creating at runtime? If so, I can do that fine but I was trying to use the wizard to create a dataset and then have the report look to it for it's data.

  3. #3
    Lively Member
    Join Date
    Oct 2006
    Posts
    71

    Re: Problem displaying Dataset data in Crystal Report

    Yes, the instance of that DataSet would be created at runtime and then passed to the report. The report is designed using the wizard and the same type of DataSet.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width